/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

body {
  background-color: #fffbf6;
  font-family: "Roboto";
  color: black;
}

a {
  color: inherit;
}

.wrapper {
  max-width: 800px;
  margin: 0 auto;
}

header {
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  box-shadow: 0px 0px 20px 20px rgb(173, 173, 173, 0.15);
  flex-wrap: wrap;
}

header a:hover {
  color: rgb(92, 92, 92);
}

.tel {
  display: flex;
  align-items: center;
}

.tel img {
  margin-right: 15px;
}

.tel::before {
  content: "";
  width: 1px;
  height: 45px;
  background-color: #c1beb9;
  display: block;

  margin-right: 15px;
}

.email {
  display: flex;
  align-items: center;
}

.email img {
  margin-right: 15px;
}

.email::before {
  content: "";
  width: 1px;
  height: 45px;
  background-color: #c1beb9;
  display: block;

  margin-right: 15px;
}

.socials {
  display: flex;
  align-items: center;
}

.socials a {
  margin-right: 15px;
}

.socials a:last-child {
  margin-right: 0px;
}

.socials::before {
  content: "";
  width: 1px;
  height: 45px;
  background-color: #c1beb9;
  display: block;

  margin-right: 15px;
}

.form {
  margin-top: 70px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.input-wrapper {
  position: relative;
  width: 47%;
}
.input-wrapper input {
  width: 100%;
}
.input-wrapper.phone::before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: #757575;
  font-size: 1em;
  font-weight: 400;
}
.input-wrapper.phone input {
  padding-left: 25px;
}

.input-text {
  background: #f7f7f7;
  border-radius: 50px;
  border: 1px solid #cccccc;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgba(21, 39, 62, 1);
  padding: 16px;
  height: 50px;

  width: 47%;
}

.currencies {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  border-radius: 24px;
  background: #fff;
  padding: 20px;
  gap: 30px;

  margin-top: 30px;
  flex-wrap: wrap;
}

.currencies_name {
  font-size: 14px;
  font-weight: 600;
}

.currency {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.currency span {
  background: #f7f7f7;
  border-radius: 50px;
  border: 1px solid #cccccc;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgba(21, 39, 62, 1);
  padding: 12px;
  height: 45px;
  width: 30%;
  text-align: center;
  cursor: pointer;
}

.currency label {
  background: #f7f7f7;
  border-radius: 50px;
  border: 1px solid #cccccc;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgba(21, 39, 62, 1);
  padding: 12px;
  height: 45px;
  width: 30%;
  text-align: center;
  cursor: pointer;
}

.currency input:checked + label {
  background: #d7ffee;
  border: 1px solid #0f7d50;
  color: #0f7d50;
}

.currency input {
  visibility: hidden;
  position: absolute;
}

.currencies .popular {
  width: 300px;
}

.total {
  display: flex;
  flex-direction: column;

  width: 46%;
  position: relative;
}

.total .currencies_name {
  margin-bottom: 10px;
}

.total input {
  width: 100%;
  background: #ffffff;
  padding-left: 35px;
}

.total_amount_val {
  position: absolute;

  top: 44px;
  left: 13px;

  color: #757575;
  font-size: 14px;
  font-weight: 400;
}

.order {
  margin-top: 70px;
  margin-bottom: 20px;
}

.order h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;

  margin-bottom: 30px;
}

.order_header {
  display: flex;
  justify-content: space-between;

  background-color: #fff;
  padding: 12px 20px;
}

.order_header span {
  font-size: 18px;
  font-weight: 600;
}

.order_name {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
}

.order_name_1 {
  display: flex;
  align-items: center;
}

.order_summ_val {
  margin-right: 10px;
  color: #131416;
  font-size: 14px;
  font-weight: 400;
}

.order::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #c1beb9;
}

.choice_pay {
  display: flex;
  flex-direction: column;
}

.choice_pay::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #c1beb9;
}

.choice_pay_N {
  display: flex;
  justify-content: left;
  align-items: center;

  margin-left: 10px;
}

.choice_pay_N label {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.load {
  display: none;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;

  width: 100vw;
  height: 100vh;

  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  background: rgba(0, 0, 0, 0.7);
}

.load img {
  width: 50%;
}

.load p {
  margin-top: -1em;
  padding: 1em;
  font-size: 1em;
  font-weight: 400;
  color: white;
}

.load_active {
  display: flex;
}

.upp {
  display: none;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;

  width: 100vw;
  height: 100vh;

  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  background-color: #fff;
}

.upp_active {
  display: flex;
}

.Payment {
  font-size: 30px;
  font-weight: 400;
  color: #5dce09;

  margin-top: 20px;
}

.Thank_you {
  margin-top: 7px;
  margin-bottom: 56px;

  font-size: 20px;
  font-weight: 400;
  color: #a8a8a8;
}

.Done_upp {
  background-color: #50b903;
  border-radius: 5px;
  padding: 14px;
  color: #fff;
  display: block;
  width: 73px;

  margin: 0 auto;
  margin-bottom: 55px;
}

.We_recieved {
  font-size: 14px;
  font-weight: 400;
  color: #a8a8a8;
}

.DeclinedWindow {
  display: none;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;

  width: 100vw;
  height: 100vh;

  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  background-color: #fff;
}

.DeclinedWindow--active {
  display: flex;
}

.DeclinedWindow__icon path {
  fill: red;
}

.DeclinedWindow__title {
  font-size: 30px;
  font-weight: 400;
  color: red;

  margin-top: 20px;
}

.DeclinedWindow__subtitle {
  margin-top: 7px;
  margin-bottom: 56px;

  font-size: 20px;
  font-weight: 400;
  color: #a8a8a8;
}

.DeclinedWindow__button {
  background-color: #50b903;
  border-radius: 5px;
  padding: 14px;
  color: #fff;
  display: block;
  width: 73px;

  margin: 0 auto;
  margin-bottom: 55px;
}

.DeclinedWindow__description {
  font-size: 14px;
  font-weight: 400;
  color: #a8a8a8;
}

svg {
  width: 100px;
  height: 100px;
}

path {
  stroke-dasharray: 99.47578430175781;
  stroke-dashoffset: -99.47578430175781;
  fill: transparent;
}

svg.animate path {
  animation: 1.7s ease forwards draw;
  opacity: 1;
}

@keyframes draw {
  0% {
    opacity: 1;
    stroke-dashoffset: -99.47578430175781;
    fill: transparent;
    transform: translateY(0);
  }

  35% {
    stroke-dashoffset: 0;
    fill: transparent;
  }

  60% {
    fill: #3da35a;
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    fill: #3da35a;
    stroke-dashoffset: 0;
    opacity: 0;
    transform: translateY(-10px);
  }
}

.place_order {
  padding-bottom: 100px;
  padding-top: 70px;

  text-align: center;
}

.place_order h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;

  margin-bottom: 30px;
}

.place_order_summ_val {
  color: #101118;
  font-size: 24px;
  font-weight: 900;
}

.place_order label {
  font-size: 11px;
}

.place_order p {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 11px;
}

.place_order a {
  color: #0f7d50;
}

.place_order .button {
  margin-top: 40px;
  padding: 16px 90px;
  border-radius: 50px;
  background-color: #0f7d50;
  color: #fff;
  font-weight: 500;
}

.place_order .button:hover {
  background-color: #2eb97f;
}

.place_order .button + p {
  padding-top: 40px;
}

.card_data {
  background-color: #fff;
  padding: 37px 34px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 20px;

  justify-content: space-between;
  display: none;

  /* transition: transform 3s; */
}

.card_data_active {
  display: flex;
  /* transform: translateX(10px); */
}

.radio_card_data {
  visibility: hidden;
  position: absolute;
}

.label_card_data {
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  padding: 20px;
  width: 48%;
  font-size: 18px;
  font-weight: 400;
  color: #d3d3d3;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 10px;
}

.radio_card_data:checked + label {
  border: 1px solid #35a5f7;
  background-color: #e5f4ff;
  color: #35a5f7;
  font-size: 18px;
  font-weight: 500;
}

.card_data_input {
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  padding: 20px;
  font-size: 20px;
  font-weight: 400;
  color: #000000;
}

.card_data_input::placeholder {
  color: #d3d3d3;
}

.card_number,
.name_on_payment {
  width: 100%;
}

.expiration_date,
.cecurity_code {
  width: 48%;
}

.card_number {
  background-image: url(../img/visamastamex.svg);
  background-repeat: no-repeat;
  background-position: 95% 46%;
}

.cecurity_code {
  background-image: url(../img/SVV.svg);
  background-repeat: no-repeat;
  background-position: 95% 46%;
}

@media (max-width: 900px) {
  .form {
    padding: 15px;
  }

  .place_order {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  header {
    justify-content: center;
  }
  .header .logo {
    width: 50%;
  }

  .header .tel {
    width: 50%;
  }

  .header .email {
    width: 50%;
  }

  .header .email::before {
    display: none;
  }

  .header .socials {
    width: 50%;
  }

  .choice_pay_N label {
    padding: 20px 20px;
  }
}

@media (max-width: 660px) {
  .form .input-wrapper {
    width: 100%;
  }

  .form .input-text {
    width: 100%;
  }

  .currencies .popular {
    width: 100%;
  }

  .currencies .total {
    width: 100%;
  }
}

@media (max-width: 590px) {
  .header {
    text-align: center;
  }

  .header .logo {
    width: 100%;
  }

  .header .tel {
    width: 100%;
    margin-top: 30px;
  }

  .header .tel::before {
    display: none;
  }

  .header .email {
    width: 100%;
    margin-top: 30px;
  }

  .header .socials {
    width: 100%;
    margin-top: 30px;
  }

  .header .socials::before {
    display: none;
  }

  .label_card_data {
    width: 100%;
  }

  .card_number,
  .name_on_payment {
    width: 100%;
  }

  .expiration_date,
  .cecurity_code {
    width: 100%;
  }
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.3em;
  font-weight: 900;
}
.logo a:hover {
  color: inherit;
}
.logo img {
  max-width: 150px;
}
.logo svg {
  width: 100%;
  max-width: 150px;
  height: auto;
  /* max-width: 45px;
  max-height: 45px; */
}

.tel-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
