/* Mobile iteration 4A: viewport width, first repeat form, mobile content trim. */
@media (width < 820px){
  .cont1_bg,.cont3_bg,.cont3_bg + .cont4_bg{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}
  .cont1,.cont3{width:100%;max-width:none;}
  .cont3_bg{border-top:0;}
  .cont3_bg::before{display:none;}
  .cont3{padding-bottom:12px;}

  /* Approved mobile pattern: the first repeat request form visually belongs to the catalog instead of becoming another full-width blue section. */
  .cont3_bg + .cont4_bg{height:auto;padding:0 12px 20px;background:#fff;}
  .cont3_bg + .cont4_bg .cont4{width:100%;max-width:432px;height:auto;margin:0 auto;padding:8px 12px 7px;border:1px solid #B7D6EA;border-radius:12px;background:#EEF6FD;box-shadow:0 3px 10px rgba(37,92,131,.07);}
  .cont3_bg + .cont4_bg .cont4 .f4{position:static;top:auto;width:100%;margin:0 2px 5px;color:#18242C;font-size:20px;line-height:24px;font-weight:700;text-align:center;text-transform:none;}
  .cont3_bg + .cont4_bg .cont4 .f4 b{font-weight:700;border-bottom:0;}
  .cont3_bg + .cont4_bg .cont4 form.forma{display:flex;flex-direction:column;gap:4px;width:100%;max-width:none;margin:0 auto;}
  .cont3_bg + .cont4_bg .cont4 .form_error{order:0;}
  .cont3_bg + .cont4_bg .cont4 .cont4_t1,.cont3_bg + .cont4_bg .cont4 .cont4_t2,.cont3_bg + .cont4_bg .cont4 .cont4_t3{position:static;top:auto;left:auto;width:100%;margin:0;}
  .cont3_bg + .cont4_bg .cont4 .cont4_t1,.cont3_bg + .cont4_bg .cont4 .cont4_t2{height:48px;padding:0 14px;border:1px solid #c7d3dc;border-radius:7px;background:#fff;font-size:16px;text-align:left;box-shadow:inset 0 1px 2px rgba(37,92,131,.04);}
  .cont3_bg + .cont4_bg .cont4 .cont4_t1{order:1;}
  .cont3_bg + .cont4_bg .cont4 .cont4_t2{order:2;}
  .cont3_bg + .cont4_bg .cont4 .cont4_t3{order:3;height:50px;background:#f20d0d;color:#fff;font-size:21px;line-height:50px;}
  .cont3_bg + .cont4_bg .cont4 .pol74{position:static!important;top:auto!important;left:auto!important;order:4;width:100%;margin:0!important;}
  .cont3_bg + .cont4_bg .cont4 .pol74 .pol7{margin:0!important;}
  .cont3_bg + .cont4_bg .cont4 .pol7 label{display:flex;align-items:center;justify-content:center;min-height:44px;color:#5f6870;font-size:12px;line-height:16px;text-align:center;}
  .cont3_bg + .cont4_bg .cont4 .pol7 input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:0 6px 0 0;}
  .cont3_bg + .cont4_bg .cont4 .pol7 a{color:#075fbd;text-decoration:underline;text-underline-offset:1px;}

  /* Catalog intro: keep the explanatory copy attached to the first category without changing category-internal rhythm. */
  .cont3_t4{margin-bottom:0;}

  /* Catalog cards: compact vertical rhythm without shrinking text or touch targets. */
  .cont3_t5 .item{min-height:0;padding:6px;}

  /* Approved compact reference: automatic cards and rows with matching one-line titles. */
  .cont3_t5 > .item:nth-of-type(-n+4),
  .cont3_t5 > .item:nth-of-type(n+6):nth-of-type(-n+7),
  .cont3_t5 > .item:nth-of-type(n+10):nth-of-type(-n+18),
  .cont3_t5 > .item:nth-of-type(n+20):nth-of-type(-n+21){padding-top:4px;}

  .cont3_t5 .item .img{height:136px;line-height:136px;}
  .cont3_t5 > .item:nth-of-type(-n+4) .img,
  .cont3_t5 > .item:nth-of-type(n+6):nth-of-type(-n+7) .img,
  .cont3_t5 > .item:nth-of-type(n+10):nth-of-type(-n+18) .img,
  .cont3_t5 > .item:nth-of-type(n+20):nth-of-type(-n+21) .img{height:132px;line-height:132px;}
  .cont3_t5 .item .img img{max-height:132px;}

  .cont3_t5 .item .namet,.cont3_t5 .item.catalog-other-item .namet{min-height:40px;}
  .cont3_t5 > .item:nth-of-type(-n+4) .namet,
  .cont3_t5 > .item:nth-of-type(n+6):nth-of-type(-n+7) .namet,
  .cont3_t5 > .item:nth-of-type(n+10):nth-of-type(-n+18) .namet,
  .cont3_t5 > .item:nth-of-type(n+20):nth-of-type(-n+21) .namet{min-height:22px;}
  .cont3_t5 .item .namet br{display:none;}

  .cont3_t5 .item .podr{margin-top:0;}
  .cont3_t5 > .item:nth-of-type(-n+4) .podr .thumbnail,
  .cont3_t5 > .item:nth-of-type(n+6):nth-of-type(-n+7) .podr .thumbnail,
  .cont3_t5 > .item:nth-of-type(n+10):nth-of-type(-n+18) .podr .thumbnail,
  .cont3_t5 > .item:nth-of-type(n+20):nth-of-type(-n+21) .podr .thumbnail{align-items:flex-start;box-sizing:border-box;position:relative;min-height:28px;padding-top:2px;}
  .cont3_t5 > .item:nth-of-type(-n+4) .podr .thumbnail::before,
  .cont3_t5 > .item:nth-of-type(n+6):nth-of-type(-n+7) .podr .thumbnail::before,
  .cont3_t5 > .item:nth-of-type(n+10):nth-of-type(-n+18) .podr .thumbnail::before,
  .cont3_t5 > .item:nth-of-type(n+20):nth-of-type(-n+21) .podr .thumbnail::before{content:"";position:absolute;top:-16px;right:0;bottom:0;left:0;}

  .cont3_t5 .item .price{margin-top:auto;padding-top:3px;}
  .cont3_t5 .item > a.start{margin-top:0;}
  .cont3_t5 .item .button{margin-top:5px;}

}
