#calc-main select{width:auto!important;min-width:88px;max-width:100%;flex:0 1 auto!important;align-self:flex-start;font-size:15px;}
@media(min-width:861px){
  #calc-main .window-item .field:not(.color-field),#calc-main .balcony-item .field:not(.color-field),#calc-main .terrace-item .field:not(.color-field){flex:0 0 auto!important;}
  #calc-main .door-item{grid-template-columns:auto auto auto auto minmax(0,1fr) auto!important;max-width:100%;}
  #calc-main .door-item .field:has(.door-price){margin-left:0!important;justify-self:end;}
  #calc-main .window-item>div:first-child>div:first-child,#calc-main .balcony-item>div:first-child>div:first-child,#calc-main .terrace-item>div:first-child>div:first-child{position:relative;padding-left:34px;}
  #calc-main .window-item>div:first-child>div:first-child>.window-number,#calc-main .balcony-item>div:first-child>div:first-child>.balcony-number,#calc-main .terrace-item>div:first-child>div:first-child>.terrace-number{position:absolute;left:0;top:0;height:74px;display:flex;align-items:flex-end;box-sizing:border-box;}
}
@media(max-width:860px){#calc-main select{font-size:14px;}}
@media(max-width:600px){
  #calc-main select{padding-left:10px;padding-right:10px;}
  .calc-card{padding-left:12px!important;padding-right:12px!important;}
  .door-item,.window-item,.balcony-item,.terrace-item{padding-left:12px!important;padding-right:12px!important;}
}
@media(max-width:400px){@supports (appearance:base-select){
  #calc-main select.balcony-height,#calc-main select.balcony-height::picker(select){appearance:base-select;}
  #calc-main select.balcony-height{width:100%!important;white-space:normal;line-height:1.3;text-align:left;}
  #calc-main select.balcony-height selectedcontent{white-space:normal;display:block;}
}}
