/* BF24 V75k12a – mobile Produktkacheln und Eingabeformulare (13.10.2026).
   Ausschliesslich <=700px; Desktop und Kalkulationslogik unveraendert. */
@media screen and (max-width:700px){
  html,body{max-width:100%;overflow-x:clip}
  #shapeLanding .shop-nav-v690{grid-template-columns:minmax(0,1fr)!important;justify-items:stretch!important;gap:8px!important;padding:9px 12px!important}
  #shapeLanding .shop-brand-v690{justify-self:center!important;width:min(245px,75vw)!important;max-width:245px!important;margin:0 auto!important}
  #shapeLanding .shop-brand-v690 img{height:50px!important;width:100%!important;object-position:center!important}
  #shapeLanding .shop-account-v690{display:grid!important;grid-template-columns:minmax(0,1fr) 46px!important;gap:7px!important;align-items:center!important;justify-content:stretch!important;flex-wrap:nowrap!important;min-width:0!important;width:100%!important}
  #shapeLanding .shop-account-v690 .v66-landing-guest{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;width:100%!important;min-width:0!important;max-width:none!important;flex-wrap:nowrap!important;align-items:stretch!important}
  #shapeLanding .shop-account-v690 .v66-landing-user{min-width:0!important;width:100%!important;max-width:none!important;overflow:hidden!important;flex-wrap:nowrap!important}
  #shapeLanding .shop-account-v690 .v66-landing-guest[hidden],#shapeLanding .shop-account-v690 .v66-landing-user[hidden]{display:none!important}
  #shapeLanding .shop-login-link,#shapeLanding .shop-login-main{width:100%!important;min-width:0!important;padding:8px 2px!important;font-size:clamp(9px,2.55vw,12px)!important;white-space:nowrap!important;line-height:1.2!important}
  #shapeLanding .cart-button-landing-v700{width:46px!important;min-width:46px!important;max-width:46px!important;flex:0 0 46px!important;margin:0!important;min-height:40px!important;padding:5px 2px!important;gap:2px!important;white-space:nowrap!important;overflow:hidden!important;font-size:0!important}
  #shapeLanding .cart-button-landing-v700::before{content:"🛒"!important;font-size:17px!important;line-height:1!important}
  #shapeLanding .cart-button-landing-v700 .cart-count-v700{font-size:11px!important;flex:none!important}

  /* Gleiche Kachelhoehen und vergleichbare Motivgroessen fuer Laser/Kantteile. */
  #shapeLanding .shop-product-grid-v690,#shapeLanding .shop-bend-grid-v690{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  #shapeLanding .shop-product-card-v690,#shapeLanding .shop-bend-card-v690{height:170px!important;min-height:170px!important;max-height:170px!important;padding:0!important;min-width:0!important}
  #shapeLanding .shop-product-card-v690 .product-visual-v690{height:113px!important;min-height:113px!important;max-height:113px!important;padding:18px 12px 2px!important;display:block!important}
  #shapeLanding .shop-product-card-v690 .product-visual-v690 img{width:100%!important;height:100%!important;object-fit:contain!important}
  #shapeLanding .shop-bend-card-v690 .bend-image-v695,
  #shapeLanding .shop-bend-card-v690.active-tile .bend-image-v695{position:absolute!important;top:19px!important;left:8%!important;right:8%!important;width:84%!important;height:94px!important;min-height:94px!important;max-height:94px!important;padding:0!important;display:block!important}
  #shapeLanding .shop-bend-card-v690 .bend-image-v695 img{height:100%!important;width:100%!important;object-fit:contain!important}
  #shapeLanding .shop-product-card-v690 .product-copy-v690{left:10px!important;bottom:11px!important;right:29px!important}
  #shapeLanding .shop-bend-card-v690 strong{left:10px!important;bottom:32px!important;font-size:13px!important;line-height:1.15!important}
  #shapeLanding .shop-bend-card-v690 small{left:10px!important;right:31px!important;bottom:11px!important;font-size:10px!important;line-height:1.18!important}
  #shapeLanding .shop-product-card-v690 .product-copy-v690 strong{font-size:13px!important}
  #shapeLanding .shop-product-card-v690 .product-copy-v690 small{font-size:10px!important}
  #shapeLanding .shop-bend-card-v690 .product-arrow-v690,#shapeLanding .shop-product-card-v690 .product-arrow-v690{width:25px!important;height:25px!important;right:7px!important;bottom:8px!important;font-size:16px!important}

  /* Mobile Massfelder: kein Popup und keine abgeschnittenen Compact-Kaestchen. */
  #calculatorView #positionsSection .table-wrap{overflow:visible!important;max-width:100%!important}
  #calculatorView #positionsSection tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:10px 9px!important;min-width:0!important}
  #calculatorView #positionsSection #positions tr > td{grid-row:auto!important;grid-column:auto!important;min-width:0!important;max-width:100%!important;width:auto!important;box-sizing:border-box!important;overflow:visible!important}
  #calculatorView #positionsSection #positions tr > td:first-child{order:0!important;grid-column:1/-1!important}
  #calculatorView #positionsSection #positions tr > td:has(.material){order:10!important;grid-column:1!important}
  #calculatorView #positionsSection #positions tr > td:has(.thickness){order:11!important;grid-column:2!important}
  #calculatorView #positionsSection #positions tr > td.surface-cell{order:12!important;grid-column:1/-1!important}
  #calculatorView #positionsSection #positions tr > td:has(.length){order:20!important;grid-column:auto!important}
  #calculatorView #positionsSection #positions tr > td:has(.width){order:21!important;grid-column:auto!important}
  #calculatorView #positionsSection #positions tr > td:has(.profileExtra1){order:22!important;grid-column:auto!important}
  #calculatorView #positionsSection #positions tr > td:has(.profileExtra2){order:23!important;grid-column:auto!important}
  #calculatorView #positionsSection #positions tr > td:has(.profileExtra3){order:24!important;grid-column:auto!important}
  #calculatorView #positionsSection #positions tr > td:has(.bendLength){order:25!important;grid-column:1/-1!important}
  #calculatorView #positionsSection #positions tr > td:has(.pcd){order:26!important;grid-column:auto!important}
  #calculatorView #positionsSection #positions tr > td:has(.holeCount){order:27!important;grid-column:auto!important}
  #calculatorView #positionsSection #positions tr > td:has(.holeDia){order:28!important;grid-column:auto!important}
  #calculatorView #positionsSection #positions tr > td.bf24-file-cell-v707d{order:30!important;grid-column:1/-1!important}
  #calculatorView #positionsSection #positions tr > td:has(.qty){order:40!important;grid-column:1!important}
  #calculatorView #positionsSection #positions tr > td:last-child{order:41!important;grid-column:2!important;justify-self:end!important;align-self:end!important}
  #calculatorView #positionsSection #positions tr > td.row-unit-price{order:50!important;grid-column:1!important}
  #calculatorView #positionsSection #positions tr > td.row-price{order:51!important;grid-column:2!important}
  #calculatorView #positionsSection tbody td:has(.length)::before,
  #calculatorView #positionsSection tbody td:has(.width)::before,
  #calculatorView #positionsSection tbody td:has(.bendLength)::before,
  #calculatorView #positionsSection tbody td:has(.profileExtra1)::before,
  #calculatorView #positionsSection tbody td:has(.profileExtra2)::before,
  #calculatorView #positionsSection tbody td:has(.profileExtra3)::before,
  #calculatorView #positionsSection tbody td:has(.pcd)::before,
  #calculatorView #positionsSection tbody td:has(.holeCount)::before,
  #calculatorView #positionsSection tbody td:has(.holeDia)::before{
    display:block!important;min-height:15px!important;margin-bottom:5px!important;
    font-size:10px!important;line-height:1.25!important;color:#59748b!important;
    font-weight:800!important;letter-spacing:.025em!important;
  }
  body.bf24-mobile-shape-rectangle #calculatorView #positionsSection #positions td:has(.length)::before{content:"Länge X (mm)"!important}
  body.bf24-mobile-shape-rectangle #calculatorView #positionsSection #positions td:has(.width)::before{content:"Breite Y (mm)"!important}
  body.bf24-mobile-shape-round #calculatorView #positionsSection #positions td:has(.length)::before{content:"Durchmesser Ø D (mm)"!important}
  body.bf24-mobile-shape-round #calculatorView #positionsSection #positions td:has(.width)::before{content:"Nicht benötigt"!important}
  body.bf24-mobile-shape-ring #calculatorView #positionsSection #positions td:has(.length)::before,body.bf24-mobile-shape-flange #calculatorView #positionsSection #positions td:has(.length)::before{content:"Außendurchmesser Ø D (mm)"!important}
  body.bf24-mobile-shape-ring #calculatorView #positionsSection #positions td:has(.width)::before,body.bf24-mobile-shape-flange #calculatorView #positionsSection #positions td:has(.width)::before{content:"Innendurchmesser Ø d (mm)"!important}
  body.bf24-mobile-shape-flange #calculatorView #positionsSection #positions td:has(.pcd)::before{content:"Lochkreis-Ø (mm)"!important}
  body.bf24-mobile-shape-flange #calculatorView #positionsSection #positions td:has(.holeCount)::before{content:"Lochanzahl n"!important}
  body.bf24-mobile-shape-flange #calculatorView #positionsSection #positions td:has(.holeDia)::before{content:"Bohr-Ø (mm)"!important}
  body.shape-angle-v720 #calculatorView #positionsSection #positions td:has(.length)::before{content:"Schenkel X (mm)"!important}
  body.shape-angle-v720 #calculatorView #positionsSection #positions td:has(.width)::before{content:"Schenkel Y (mm)"!important}
  body.shape-angle-v720 #calculatorView #positionsSection #positions td:has(.bendLength)::before{content:"Länge L (mm)"!important}
  body.shape-profile-v721 #calculatorView #positionsSection #positions td:has(.bendLength)::before{content:"Länge L (mm)"!important}
  body.shape-profile-v721 #calculatorView #positionsSection #positions td:has(.length)::before{content:"Schenkel X (mm)"!important}
  body.shape-profile-v721 #calculatorView #positionsSection #positions td:has(.width)::before{content:"Boden Y (mm)"!important}
  body.shape-profile-v721 #calculatorView #positionsSection #positions td:has(.profileExtra1)::before{content:"Schenkel Z (mm)"!important}
  body.bf24-mobile-shape-zprofile #calculatorView #positionsSection #positions td:has(.width)::before{content:"Mittelteil Y (mm)"!important}
  body.bf24-mobile-shape-cprofile #calculatorView #positionsSection #positions td:has(.length)::before{content:"Rückkantung X (mm)"!important}
  body.bf24-mobile-shape-cprofile #calculatorView #positionsSection #positions td:has(.width)::before{content:"Schenkel Y (mm)"!important}
  body.bf24-mobile-shape-cprofile #calculatorView #positionsSection #positions td:has(.profileExtra1)::before{content:"Steg Z (mm)"!important}
  body.bf24-mobile-shape-cprofile #calculatorView #positionsSection #positions td:has(.profileExtra2)::before{content:"Schenkel W (mm)"!important}
  body.bf24-mobile-shape-cprofile #calculatorView #positionsSection #positions td:has(.profileExtra3)::before{content:"Rückkantung V (mm)"!important}
  body.shape-upload-v707d #calculatorView #positionsSection #positions td:has(.length)::before{content:"Länge X (mm) – aus Datei"!important}
  body.shape-upload-v707d #calculatorView #positionsSection #positions td:has(.width)::before{content:"Breite Y (mm) – aus Datei"!important}
  body.shape-upload-v707d #calculatorView #positionsSection #positions td:has(.holeDia){display:none!important}
  body.shape-upload-v707d #calculatorView #positionsSection #positions td.bf24-file-cell-v707d::before{content:"DXF-/STEP-Datei"!important}
  body.bf24-mobile-shape-round #calculatorView #positionsSection #positions td:has(.width){display:none!important}
  body.shape-profile-v721 #calculatorView #positionsSection #positions td.profile-only[style*="display: none"]{display:none!important}
  #calculatorView #positionsSection tbody td.flange-only .geometry-help{display:none!important}
  #calculatorView #positionsSection #positions tr > td:has(.length) .field,
  #calculatorView #positionsSection #positions tr > td:has(.width) .field,
  #calculatorView #positionsSection #positions tr > td:has(.bendLength) .field,
  #calculatorView #positionsSection #positions tr > td.profile-extra-cell-v721 .field,
  #calculatorView #positionsSection #positions tr > td.flange-only .field{width:100%!important;max-width:100%!important;min-width:0!important;height:43px!important;box-sizing:border-box!important;font-size:16px!important}
  #calculatorView #positionsSection tbody td.bend-profile-only,
  #calculatorView #positionsSection tbody td.profile-only,
  #calculatorView #positionsSection tbody td.flange-only{display:none!important}
  body.bf24-mobile-shape-flange #calculatorView #positionsSection tbody td.flange-only{display:block!important}
  body.shape-angle-v720 #calculatorView #positionsSection tbody td.bend-profile-only,
  body.shape-profile-v721 #calculatorView #positionsSection tbody td.bend-profile-only{display:block!important}
  body.shape-profile-v721 #calculatorView #positionsSection tbody td.profile-only:not([style*="display: none"]){display:block!important}
  #calculatorView .bf24-upload-hint-v707d{display:block!important;padding:12px 14px!important;font-size:13px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
  #calculatorView .bf24-upload-hint-v707d b{display:block!important;white-space:normal!important;font-size:14px!important;margin:0 0 4px!important}
  #calculatorView .bf24-upload-hint-v707d span{display:block!important;font-size:13px!important;line-height:1.45!important}
  #calculatorView .bf24-file-select-v707d{width:100%!important;min-height:45px!important}
  #calculatorView .bf24-file-name-v707d{white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important}
}
@media screen and (max-width:359px){
  #shapeLanding .shop-product-grid-v690,#shapeLanding .shop-bend-grid-v690{grid-template-columns:1fr!important}
}
