.form {
  display: inline-block;
  max-width: 550px;
  margin: 0 auto;
  padding: 20px 30px;
  background: url(../images/formbg.jpg) no-repeat 0 0/100% 100%;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.form-intro {
  padding: 10px 20px;
  border: 1px solid rgb(240, 98, 98);
  max-width: 550px;
  background-color: rgb(255, 240, 240);
  font-size: 18px;
  text-align: center !important;
}

@media screen and (max-width: 480px) {
  .form-intro {
    font-size: 16px;
    margin-top: 15px;
  }
}

@media screen and (max-width: 480px) {
  .form {
    padding: 20px 15px;
  }
}

.form-logo {
  width: 30%;
  max-width: 80px;
}

@media screen and (max-width: 760px) {
  .form-logo {
    max-width: 70px;
  }
}

@media screen and (max-width: 480px) {
  .form-logo {
    max-width: 60px;
  }
}

.form-title {
  margin: 10px 0;
  font-size: 22px;

  text-align: center !important;
}

@media screen and (max-width: 580px) {
  .form-title {
    font-size: 20px;
    margin: 5px 0;
  }
}

.form-orders {
  color: rgb(0, 0, 255);
  font-size: 14px;
  text-align: center !important;
}

@media screen and (max-width: 580px) {
  .form-orders {
    margin: 5px 0;
  }
}

.form-accent {
  padding: 10px 10px;
  border: 2px solid #0299ff;
  font-size: 14px;
  font-weight: 600;
  text-align: center !important;
}

@media screen and (max-width: 480px) {
  .form-accent {
    padding: 10px 5px;
    font-size: 12px;
  }
}

.form-price {
  text-align: center;
  font-size: 20px;
  line-height: 1.3;
  margin: 20px 0 10px;
}

@media screen and (max-width: 480px) {
  .form-price {
    font-size: 18px;
    line-height: 1.2;
    margin: 10px 0 0;
  }
}

.form-price span {
  font-weight: 600;
  font-size: 1.1em;
}

.form-price__old {
  text-decoration: line-through;
  white-space: nowrap;
}

.form-price__new {
  white-space: nowrap;
  color: red;
}

.form-inputs {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-inputs input {
  margin: 5px 0;
  border-radius: 4px;
  border: 1px solid rgb(55, 25, 5);
  font-size: 16px;
  padding: 8px 10px;
  width: 100%;
  max-width: 270px;
}

@media screen and (max-width: 480px) {
  .form-inputs input {
    font-size: 14px;
    padding: 8px 8px;
  }
}

.form-inputs label {
  margin-top: 10px;
  font-size: 16px;
}

@media screen and (max-width: 480px) {
  .form-inputs label {
    font-size: 14px;
  }
}

.form-inputs button {
  margin-top: 20px;
  width: 100%;
  max-width: 270px;
  border: none;
  color: #fff;
  background-color: #0299ff;
  font-size: 22px;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 8px 10px;
}

@media screen and (max-width: 480px) {
  .form-inputs button {
    font-size: 18px;
    margin-top: 15px;
  }
}

.form-footer {
  text-align: center;
  font-size: 14px;
  margin: 30px 0 0;
  text-align: center !important;
}

@media screen and (max-width: 480px) {
  .form-footer {
    font-size: 12px;
    margin-top: 20px;
  }
}

.form-bottom {
  border: 2px solid #0299ff;
  padding: 8px 10px;
  max-width: 550px;
  margin: 20px 0;
  border-radius: 4px;
  background-color: rgba(2, 154, 255, 0.137254902);
  font-size: 18px;
}

.form-bottom>* {
  text-align: center !important;
}

@media screen and (max-width: 480px) {
  .form-bottom {
    font-size: 14px;
  }

  .form-bottom p {
    margin: 10px 0;
  }
}

.form-bottom__title {
  font-weight: 600;
}

.form-bottom__order {
  font-size: 14px;
  font-weight: 600;
}

.form-instock {
  font-size: 1.2em;
  transition: opacity 0.4s;
}

.form-color--accent {
  color: coral;
}


#form {
  width: calc(550 / var(--size-form) * 100vw);
  margin: 0 auto;
}

#form-top {
  border-radius: 10px 10px 0 0;
  border: 4px solid #317184;
  border-bottom: none;
  display: grid;
  justify-content: center;
  background: #EAF3F5;
  padding: calc(32 / var(--size-form) * 100vw) 0;
}

#form-title {
  color: #0F3F4E;
  text-align: center;
  margin: 0;
  line-height: 104%;
}

#only-today {
  display: inline;
  justify-self: center;
  /* border-radius: 7.531px;
  border: 1px solid #FFF;
  background: #D30000;
  padding: calc(5 / var(--size-form) * 100vw); */

  color: #0F3F4E;
  text-align: center;
  font-family: Arial;
  font-size: calc(51.255 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 800;
  line-height: 104%;
  text-transform: uppercase;
}

#form-sale {
  margin-top: calc(5 / var(--size-form) * 100vw);
  color: #FF6711;
  text-align: center;
  /* text-shadow: 3px 4px 0px rgba(0, 0, 0, 0.45); */
  font-family: Arial;
  font-size: calc(99.289 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 800;
  line-height: 104%;
  letter-spacing: -2.482px;
  text-transform: uppercase;
}

#prices-block {
  position: relative;
  background: #FFF;
  border: 4px solid #317184;
  border-top: none;
  border-bottom: none;
  padding: calc(24 / var(--size-form) * 100vw) calc(21 / var(--size-form) * 100vw) calc(35 / var(--size-form) * 100vw) calc(145 / var(--size-form) * 100vw);
}

#form-product {
  position: absolute;
  left: calc(10 / var(--size-form) * 100vw);
  top: calc(-32 / var(--size-form) * 100vw);
  max-width: calc(118 / var(--size-form) * 100vw);
}

#old-price {
  color: #000;
  font-family: Arial;
  font-size: calc(27.152 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 700;
  line-height: 108.036%;
  text-transform: uppercase;
  text-align: left;
  margin: 0;
}

#old-price span {
  text-decoration: line-through;
}

#new-price {
  color: #000;
  font-family: Arial;
  font-size: calc(21.25 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 500;
  line-height: 180.973%;
  text-transform: uppercase;
  margin: 0;
  text-align: left;
}

#new-price span {
  color: #D42323;
}

#form-info {
  border-radius: 0px 0px 10px 10px;
  background: var(--red-form);
  border: 4px solid #317184;
  border-top: none;
  display: flex;
  flex-direction: column;
}

#form-sub {
  padding-left: calc(149 / var(--size-form) * 100vw);
  border-top: none;
  border-bottom: none;

  text-align: left;
  margin: 0;
  color: #000;
  font-family: Arial;
  font-size: calc(12 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

#form-block {
  border: 1px dashed #000;
  background: rgba(255, 255, 255, 0.68);
  padding: calc(6 / var(--size-form) * 100vw);
  width: calc(406 / var(--size-form) * 100vw);
  margin: 17px auto 0;
}

.form-block-p {
  color: #000 !important;
  text-align: center !important;
  font-family: Arial;
  font-size: calc(14 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 600;
  line-height: 130% !important;
  letter-spacing: 0.14px;
  scale: .8 1;
  margin: 0 !important;
}

#form-info label {
  color: #000;
  font-family: Arial;
  font-size: calc(20 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: 0.8px;
  width: calc(390 / var(--size-form) * 100vw);
  margin: 20px auto 0;
}

#form-info input {
  color: #A6A6A6;
  font-family: Arial;
  font-size: calc(20 / var(--size-form) * 100vw);
  font-style: italic;
  font-weight: 300;
  line-height: 130%;
  letter-spacing: 0.8px;
  padding: calc(9 / var(--size-form) * 100vw) calc(12 / var(--size-form) * 100vw);
  border-radius: 5px;
  border: 1px solid #C7C7C7;
  background: #FFF;
  width: calc(390 / var(--size-form) * 100vw);
  margin: calc(10 / var(--size-form) * 100vw) auto;
}

#form-submit {
  cursor: pointer;
  width: calc(390 / var(--size-form) * 100vw);
  margin: calc(30 / var(--size-form) * 100vw) auto;
  border: none;
  padding: 9px 10px;
  color: #FFF;
  text-align: center;
  font-family: Arial;
  font-size: calc(24 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  border-radius: 5px;
  background: #317184;
}


.delivery-blocks {
  width: calc(550 / var(--size-form) * 100vw);
  margin: 0 auto;
}

.delivery-3 {
  align-items: center;
  margin-top: calc(48 / var(--size-form) * 100vw);
  justify-content: space-between;
  display: flex;
  padding: calc(11 / var(--size-form) * 100vw) calc(27 / var(--size-form) * 100vw) calc(11 / var(--size-form) * 100vw) calc(25 / var(--size-form) * 100vw);
  border-radius: 10px;
  border: 2px solid #21537D;
  background: linear-gradient(180deg, #FFF 0%, #E2EDF3 100%);
}

.delivery-3 p {
  color: #175180 !important;
  font-family: Arial;
  font-size: calc(32 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 800;
  line-height: 92.888% !important;
  text-transform: uppercase;
  text-align: left !important;
  margin: 0 !important;
}

.delivery-3 span {
  color: #175180;
  font-family: Arial;
  font-size: calc(18 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 500;
  line-height: 165.135%;
  display: flex;
}

.delivery-2 {
  align-items: center;
  margin-top: calc(48 / var(--size-form) * 100vw);
  justify-content: space-between;
  display: flex;
  padding: calc(20 / var(--size-form) * 100vw) calc(15 / var(--size-form) * 100vw) calc(20 / var(--size-form) * 100vw) calc(25 / var(--size-form) * 100vw);
  border-radius: 10px;
  border: 2px solid #FFBE18;
  background: linear-gradient(180deg, #F8A32E 0%, #DD1805 100%);
}

.delivery-2 p {
  color: #FFF;
  font-family: Arial;
  font-size: calc(32 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 800;
  line-height: 92.888%;
  text-transform: uppercase;
}

.delivery-2 span {
  color: #FFF;
  font-family: Arial;
  font-size: calc(18 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 500;
  line-height: 165.135%;
}

.delivery-1 {
  align-items: center;
  margin-top: calc(48 / var(--size-form) * 100vw);
  justify-content: space-between;
  padding: calc(20 / var(--size-form) * 100vw) calc(25 / var(--size-form) * 100vw);
  display: flex;
  border-radius: 10px;
  border: 2px solid #82A436;
  background: linear-gradient(180deg, #769B3B 0%, #2A5827 100%);
}

.delivery-1 p {
  color: #FFF;
  font-family: Arial;
  font-size: calc(32 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 800;
  line-height: 92.888%;
  text-transform: uppercase;
}

.delivery-1 span {
  color: #FFF;
  font-family: Arial;
  font-size: calc(18 / var(--size-form) * 100vw);
  font-style: normal;
  font-weight: 500;
  line-height: 165.135%;
}

@media screen and (max-width: 720px) {
  * {
    --size-form: 512
  }

  #form {
    width: 100%;
  }

  .delivery-3 p {
    font-size: calc(24 / var(--size-form) * 100vw);
  }

  .delivery-3 span {
    font-size: calc(18 / var(--size-form) * 100vw);
    text-align: left;
  }

  .delivery-3 svg {
    width: 30%;
  }
}