

/* title cont ---------------------------------------- */
.title-cont {
  justify-content: space-between;
}
.title-cont .actions {
  gap: 0.8rem;
}
@media screen and (max-width: 750px) {
  .title-cont {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
@media screen and (max-width: 550px) {
  .title-cont .actions {
    width: 100%;
  }
  .title-cont .actions #save {
    justify-content: center;
    flex: 1;
  }
  .title-cont .actions #cancel span,
  .title-cont .actions #reset span {
    display: none;
  }
  .title-cont .actions #cancel ion-icon,
  .title-cont .actions #reset ion-icon {
    margin: 0;
  }
}
/* item cards ------------------------------ */
.cont > .flex-row {
  align-items: flex-start;
  gap: 1rem;
}
.col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.item-card {
  width: 100%;
  padding: 1.5rem;
  background-color: var(--blue-bg-1);
}
.item-card .divider {
  margin-top: 1rem;
  height: 1px;
  width: 100%;
  background-color: var(--blue-bg-2);
}
.item-body {
  padding-top: 1.2rem;
  align-items: stretch;
}
.item-body.sub {
  padding-left: 2rem;
}
@media screen and (max-width: 550px) {
  .item-body.sub {
    padding-left: 0rem;
  }
}
.item-body img {
  background-color: white;
  display: block;
  width: 6rem;
  height: 6rem;
  object-fit: cover;
}
.text-cont {
  flex: 1;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}
.item-subtitle {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
}
.item-subtitle2 {
  color: var(--blue);
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 15px;
}
.text-cont input[type="text"],
.text-cont input[type="password"],
.text-cont input[type="number"] {
  border: 1.5px var(--orange) solid;
  background-color: var(--orange-bg);
  color: var(--orange);
  font-weight: 600;
  max-width: 8rem;
  font-size: 18px !important;
}
.text-cont-login input[type="text"],
.text-cont-login input[type="password"],
.text-cont-login input[type="number"] {
  border: 1.5px var(--orange) solid;
  background-color: var(--orange-bg);
  color: var(--orange);
  font-weight: 600;
  max-width: 8rem;
  font-size: 18px !important;
}
.length-cont,
.input-cont {
  padding-top: 0.2rem;
  justify-content: space-between;
}
.length-cont span {
  line-height: 110%;
  color: var(--blue);
  font-weight: 600;
  font-size: 18px;
}
.input-cont span {
  line-height: 110%;
  color: var(--blue);
  font-weight: 500;
  font-size: 16px;
}
.length-cont input[type="text"],
.length-cont input[type="password"],
.length-cont input[type="number"] {
  font-weight: 700;
  height: 45px !important;
}
.warning-cont {
  background-color: var(--orange-bg);
  padding: 1rem;
  color: var(--orange);
  gap: 1rem;
  font-weight: 500;
}
.warning-cont ion-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
}
.text-cont .cols {
  justify-content: stretch;
}
.text-cont .cols > div {
  flex: 1;
  height: 100%;
}
.gate-cont {
  padding-bottom: 0.2rem;
}
.gate-cont .flex-row {
  gap: 1rem;
}
@media screen and (max-width: 480px) {
  .gate-cont {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding-bottom: 0.5rem;
  }
  .gate-cont input[type="number"] {
    width: 100%;
    max-width: none !important;
  }
}

@media screen and (max-width: 900px) {
  .cont > .flex-row {
    flex-direction: column;
  }
  .col {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .item-card {
    padding: 1rem;
  }
  .item-body img {
    width: 4rem;
    height: 4rem;
  }
  .text-cont {
    padding-left: 1rem;
    gap: 0.5rem;
  }
  .item-subtitle {
    font-size: 14px;
  }
  .warning-cont {
    padding: 0.8rem;
    font-size: 14px;
  }
  .warning-cont ion-icon {
    display: none;
  }
}

/* modal-select ------------------------------ */
.modal-select {
  width: 800px;
}
.modal-select-big {
  width: 1200px;
}
.modal-select .modal-text {
  padding-bottom: 0;
}
.modal-select-cont {
  align-items: stretch !important;
  width: 100%;
  gap: 1rem;
}
.modal-select-cont > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modal-option {
  justify-content: stretch;
  gap: 1.5rem;
}
.modal-option > img {
  width: 6rem;
  height: 6rem;
  object-fit: fill;
}
.modal-option > p {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  padding-bottom: 0;
  line-height: 130%;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.modal-option > p > ion-icon {
  color: var(--orange);
  --ionicon-stroke-width: 40px;
  font-size: 1.2rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.modal-option > p > ion-icon:hover {
  color: var(--blue);
}
.modal-option.selected > p {
  color: var(--orange);
}
.modal-option:hover {
  cursor: pointer;
}

.modal-option:hover > p {
  color: var(--orange);
}
.modal-option:hover > img {
  opacity: 0.8;
}
@media screen and (max-width: 800px) {
  .modal-select, .modal-select-big {
    width: 100%;
  }
}
@media screen and (max-width: 700px) {
  .modal-select-cont {
    flex-direction: column;
  }
  .modal-select-cont > div {
    gap: 0.8rem;
  }
  .modal-option > img {
    width: 5rem;
    height: 5rem;
  }
  .modal-option > p {
    font-size: 16px;
  }
}
.modal .detail {
  display: none;
}
.modal .detail .divider {
  height: 1px;
  width: 100%;
  background-color: var(--blue-bg-3);
  margin-top: 2rem;
}
.modal .detail-title {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  padding-top: 2rem;
}
.modal .detail-text {
  text-align: left;
}
/* action-cont -------------------------- */
.action-cont {
  background-color: var(--blue-bg-1);
  justify-content: space-between;
  padding: 1.5rem;
}
.action-cont div {
  gap: 0.8rem;
}
@media screen and (max-width: 560px) {
  .action-cont div {
    flex: 1;
  }
  .action-cont {
    justify-content: flex-start;
    gap: 0.8rem;
    padding: 1rem;
  }
  .action-cont #save {
    justify-content: center;
    flex: 1;
  }
  .action-cont #cancel span,
  .action-cont #reset span {
    display: none;
  }
  .action-cont #cancel ion-icon,
  .action-cont #reset ion-icon {
    margin: 0;
  }
}
/* atyp-cont ------------------------------ */
.atyp-cont {
  background-color: var(--blue-bg-1);
  padding: 1.5rem;
}
.atyp-cont-inside {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.atyp-cont-inside a {
  display: contents;
}
.atyp-card {
  width: calc((100% - 3rem) / 3);
  gap: 0.8rem;
}
.atyp-card img {
  width: 100%;
  aspect-ratio: 2;
  object-fit: contain;
  background-color: white;
}
.atyp-card p {
  color: var(--blue);
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
}
.atyp-card:hover {
  cursor: pointer;
}
.atyp-card:hover img {
  opacity: 0.8;
}
.atyp-card:hover p {
  color: var(--orange);
}
@media screen and (max-width: 600px) {
  .atyp-card {
    width: calc((100% - 1rem) / 2);
  }
  .atyp-card p {
    font-size: 16px;
  }
}
/* atyp table ----------------------- */
.atyp-table {
  gap: 0.5rem;
  width: 100%;
}
.atyp-table .row {
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.atyp-table .row:nth-of-type(odd) {
  background-color: var(--blue-bg-1);
}
.atyp-table .row:nth-of-type(even) {
  background-color: var(--blue-bg-2);
}
.atyp-table .row img {
  height: 5rem;
  aspect-ratio: 2;
}
.atyp-table .row .left {
  gap: 1.5rem;
}
.atyp-table .row .text {
  align-items: flex-start;
}
.atyp-table .row .name {
  line-height: 130%;
  color: var(--blue);
  font-weight: 600;
  font-size: 20px;
}
.atyp-table .row .ks {
  color: var(--orange);
  font-weight: 600;
  font-size: 18px;
}

.atyp-table .actions {
  padding: 0 0.5rem 0 1rem;
  flex-shrink: 0;
}
.atyp-table .actions .mobile {
  display: none;
}
.atyp-table .actions .btn.blue {
  margin-left: 0.5rem;
}
@media screen and (max-width: 800px) {
  .atyp-table .row img {
    display: none;
  }
  .atyp-table .row .name {
    font-size: 18px;
  }
  .atyp-table .row .ks {
    font-size: 16px;
  }
  .atyp-table .actions {
    padding: 0;
  }
  .atyp-table .actions .mobile {
    display: flex;
    width: 2.8rem;
    height: 2.8rem;
  }
  .atyp-table .actions .mobile ion-icon {
    font-size: 1.2rem;
    --ionicon-stroke-width: 40px;
    color: white;
  }
  .atyp-table .actions .mobile.orange {
    background-color: var(--orange);
  }
  .atyp-table .actions .mobile.blue {
    background-color: var(--blue);
    margin-left: 0.5rem;
  }
  .atyp-table .actions .btn {
    display: none;
  }
}
/* atyp-detail --------------------------- */
.atyp-detail-cont {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.gate-bg {
  background-color: var(--blue-bg-1);
  /*padding: 1.5rem;*/
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  color: var(--blue);
}
.gate-bg .top {
  justify-content: stretch !important;
  align-items: stretch !important;
  gap: 2rem;
}
.gate-bg .top > div {
  flex: 1;
}
.q {
  color: rgb(0, 112, 255);
  --ionicon-stroke-width: 40px;
  font-size: 1.5rem;
  flex-shrink: 0;
  vertical-align: bottom;
}
.q:hover {
  color: var(--blue);
  cursor: pointer;
}
.gate-bg .top > .flex-row {
  justify-content: stretch !important;
  align-items: stretch !important;
  gap: 2rem;
  flex: 2;
}
.gate-bg .top .flex-row > div {
  flex: 1;
}
.gate-bg .top .input-row {
  justify-content: flex-start;
  gap: 1rem;
  color: var(--blue);
  font-weight: 500;
}
.gate-bg .top > .dimension-entry {
  align-items: flex-start !important;
  gap: 1.3rem;
  padding-bottom: 0 !important;
  flex: 2.15;
  min-width: 0;
}
.gate-bg .top .dimension-entry .dimension-group {
  background-color: white;
  border: 1px solid var(--blue-bg-2);
  border-radius: 0px;
  box-sizing: border-box;
  min-width: 0;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(49, 87, 106, 0.06);
}
.gate-bg .top .dimension-entry > .dimension-group-width {
  flex: 1.14 1 0;
}
.gate-bg .top .dimension-entry > .dimension-side {
  display: flex;
  flex: 0.92 1 0;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.gate-bg .top .dimension-entry .dimension-group-height,
.gate-bg .top .dimension-entry .dimension-group-special {
  flex: 0.92 1 0;
  width: 100%;
}
.dimension-entry .dimension-title {
  margin-bottom: 0;
}
.dimension-entry .dimension-options {
  gap: 0.55rem;
  padding-top: 0.8rem !important;
}
.dimension-entry .radio {
  align-items: flex-start;
  background-color: #f8fafb;
  border: 1px solid transparent;
  border-radius: 0px;
  box-sizing: border-box;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  transition: background-color 160ms ease, border-color 160ms ease;
  width: 100%;
}
.dimension-entry .radio:hover {
  background-color: white;
  border-color: var(--blue-bg-3);
}
.dimension-entry .radio input {
  color: var(--blue);
  flex: 0 0 auto;
  margin-top: 0.12rem;
}
.dimension-entry .radio input::before {
  background-color: var(--blue);
}
.dimension-entry .radio input:checked {
  color: var(--orange);
}
.dimension-entry .radio input:checked::before {
  background-color: var(--orange);
}
.dimension-entry .radio span {
  color: var(--blue);
  font-weight: 600;
  line-height: 1.3;
  padding-top: 0;
}
.dimension-entry .radio input:checked + span {
  color: var(--orange);
}
.dimension-entry .radio:has(input:checked) {
  background-color: var(--orange-bg);
  border-color: var(--orange);
  box-shadow: inset 3px 0 0 var(--orange);
}
.dimension-entry .dimension-field {
  align-items: center !important;
  display: grid !important;
  gap: 0.7rem 1rem !important;
  grid-template-columns: minmax(10rem, 1fr) auto;
  justify-content: stretch !important;
  padding-top: 0.9rem !important;
}
.dimension-entry .dimension-field-label {
  color: var(--blue);
  font-weight: 600;
  line-height: 1.35;
  min-width: 0;
}
.dimension-entry .dimension-input-wrap {
  align-items: center;
  background-color: white;
  border: 1.5px solid var(--blue-bg-3);
  border-radius: 0px;
  box-sizing: border-box;
  display: flex;
  gap: 0.45rem;
  justify-content: flex-end;
  min-height: 48px;
  min-width: 7.3rem;
  padding: 0.25rem 0.55rem 0.25rem 0.65rem;
}
.dimension-entry .dimension-input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 87, 106, 0.12);
}
.dimension-entry .dimension-input-wrap:has(input[style]) {
  background-color: var(--orange-bg);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(246, 138, 15, 0.08);
}
.dimension-entry .dimension-input-wrap input[type="number"] {
  border: 0 !important;
  font-size: 22px !important;
  font-weight: 700;
  height: 2.25rem !important;
  max-width: 3.5ch !important;
  padding: 0.2rem 0.1rem !important;
  text-align: right;
  width: 3.5ch !important;
  color: var(--blue) !important;
}
.dimension-entry .dimension-input-wrap input[type="number"].important:not([style]) {
  background-color: transparent !important;
}
.dimension-entry .dimension-input-wrap span {
  color: var(--blue);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.dimension-entry .dimension-note {
  background-color: white;
  border: 1px solid var(--blue-bg-2);
  border-radius: 0px;
  color: var(--blue);
  line-height: 1.3;
  margin: 0;
  padding: 0.7rem 0.85rem !important;
}
.dimension-entry .warning-cont {
  margin-top: 1rem;
}
.dimension-entry-plate-height {
  margin-top: 0.8rem;
}
.dimension-entry-plate-height .dimension-group {
  background-color: white;
  border: 1px solid var(--blue-bg-2);
  border-radius: 0px;
  box-sizing: border-box;
  min-width: 0;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(49, 87, 106, 0.06);
}
.dimension-entry-plate-height .dimension-field {
  align-items: center !important;
  display: grid !important;
  gap: 0.7rem 1rem !important;
  grid-template-columns: minmax(10rem, 1fr) auto;
  justify-content: stretch !important;
  padding-top: 0 !important;
}
.dimension-entry-plate-height .dimension-field-label {
  color: var(--blue);
  font-weight: 600;
  line-height: 1.35;
  min-width: 0;
}
.dimension-entry-plate-height .dimension-input-wrap {
  align-items: center;
  background-color: white;
  border: 1.5px solid var(--blue-bg-3);
  border-radius: 0px;
  box-sizing: border-box;
  display: flex;
  gap: 0.45rem;
  justify-content: flex-end;
  min-height: 48px;
  min-width: 7.3rem;
  padding: 0.25rem 0.55rem 0.25rem 0.65rem;
}
.dimension-entry-plate-height .dimension-input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 87, 106, 0.12);
}
.dimension-entry-plate-height .dimension-input-wrap:has(input[style]) {
  background-color: var(--orange-bg);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(246, 138, 15, 0.08);
}
.dimension-entry-plate-height .dimension-input-wrap input[type="number"] {
  border: 0 !important;
  font-size: 22px !important;
  font-weight: 700;
  height: 2.25rem !important;
  max-width: 3.5ch !important;
  padding: 0.2rem 0.1rem !important;
  text-align: right;
  width: 3.5ch !important;
  color: var(--blue) !important;
}
.dimension-entry-plate-height .dimension-input-wrap input[type="number"].important:not([style]) {
  background-color: transparent !important;
}
.dimension-entry-plate-height .dimension-input-wrap span {
  color: var(--blue);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.gate-bg input[type="text"],
.gate-bg input[type="password"],
.gate-bg input[type="number"] {
  border: 1.5px var(--orange) solid;
  font-weight: 600;
  max-width: 8rem;
  font-size: 18px !important;
  color: var(--orange);
}
.gate-bg textarea {
  border: 1.5px var(--orange) solid;
  font-weight: 600;
  width: 100%;
  height: 6rem;
  font-size: 18px !important;
}
.gate-bg input[type="text"].important,
.gate-bg input[type="password"].important,
.gate-bg input[type="number"].important {
  background-color: var(--orange-bg);
  color: var(--orange);
}
.gate-bg .top img {
  width: 100%;
  object-fit: contain;
}
.atyp-image-preview {
  display: block;
  line-height: 0;
}
.atyp-image-preview:hover {
  cursor: zoom-in;
}
.atyp-image-preview:hover img {
  opacity: 0.85;
}
.atyp-image-modal .modal-content {
  width: 100% !important;
  max-width: 900px;
}
.atyp-image-modal .modal-cont {
  padding: 1.5rem;
}
.atyp-image-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.atyp-image-modal .modal-text {
  padding-bottom: 0;
}
.atyp-image-modal .modal-text img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 12rem);
  object-fit: contain;
}
@media screen and (max-width: 750px) {
  .gate-bg .top {
    flex-direction: column;
  }
  .gate-bg .top > .dimension-entry {
    gap: 1rem;
  }
  .atyp-image-modal .modal-content {
    width: 100% !important;
  }
  .atyp-image-modal .modal-cont {
    padding: 1rem;
  }
  .atyp-image-modal .modal-text img {
    max-height: calc(100vh - 10rem);
  }
}
@media screen and (max-width: 650px) {
  .gate-bg .top > .dimension-entry {
    flex-direction: column !important;
  }
  .gate-bg .top .dimension-entry > .dimension-group,
  .gate-bg .top .dimension-entry > .dimension-side {
    width: 100%;
  }
}
@media screen and (max-width: 500px) {
  .gate-bg .top > .flex-row {
    flex-direction: column !important;
  }
  .dimension-entry .dimension-field {
    grid-template-columns: 1fr;
  }
  .dimension-entry .dimension-input-wrap {
    justify-content: flex-end;
    min-width: 7.3rem;
    width: max-content;
  }
  .dimension-entry .dimension-input-wrap input[type="number"] {
    max-width: 3.5ch !important;
    width: 3.5ch !important;
  }
  .dimension-entry-plate-height .dimension-field {
    grid-template-columns: 1fr;
  }
  .dimension-entry-plate-height .dimension-input-wrap {
    justify-content: flex-end;
    min-width: 7.3rem;
    width: max-content;
  }
  .dimension-entry-plate-height .dimension-input-wrap input[type="number"] {
    max-width: 3.5ch !important;
    width: 3.5ch !important;
  }
}
/* filling cont ------------ */
.filling-cont {
  background-color: white;
  padding: 1rem;
  gap: 1.2rem;
  position: relative;
}
.filling-cont.is-active {
  background-color: var(--orange-bg);
  border: 2px var(--orange) solid;
}
.filling-cont .img-cont {
  flex: 1;
}
.filling-cont img {
  width: 100%;
}
.filling-cont p {
  display: block;
  flex: 1.5;
  font-weight: 500;
  line-height: 130%;
}
.filling-cont ion-icon {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}
.filling-cont:hover {
  background-color: var(--orange-bg);
  cursor: pointer;
}
.filling-cont:hover img {
  opacity: 0.8;
}
/* ------- */
label .light {
  font-weight: 400 !important;
  line-height: 130%;
}
.sub {
  vertical-align: sub;
}
/* action-cont */
.atyp-detail-cont .action-cont input {
  max-width: 6rem;
  margin-right: 0.5rem;
}
.atyp-detail-cont .action-cont {
  font-weight: 500;
  color: var(--blue);
}
.atyp-detail-cont .result-cont {
  background-color: var(--orange-bg);
  justify-content: space-between;
  padding: 1.5rem;
  color: var(--blue);
  align-items: center;
  font-weight: 500;
}
.result-cont .price {
  font-size: 22px !important;
  font-weight: 600;
}
.result-cont .price span {
  font-size: 22px !important;
}
.result-cont .small {
  font-size: 14px;
}


select.vyber_delka, input.vyber_delka {
	font-weight: bold !important; 
	width: 140px !important;
	font-size: 20px !important;	
}

select.vyber_delka_warning, input.vyber_delka_warning {
	font-weight: bold !important; 
	width: 140px !important;
	font-size: 26px !important;
	background: #fbff7d !important;
  height: 55px !important;
}
