:root {
  --color-primary: #FFC72C;
  --color-accent: #001E62;
  --color-text: #000000;
  --color-text-secondary: #FFFFFF;
}

/* common */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}


body {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 400;
  word-wrap: break-word;
  color: var(--color-text)
}

.wrapper {
  min-height: 100vh;
}

.container {
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
  padding: 0 30px;
}

.title {
  color: var(--color-text-secondary);
  font-size: 36px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 47px;
  letter-spacing: 0.6px;
}

.subtitle {
  color: var(--color-text);
  font-size: 22px;
  line-height: 29px;
  letter-spacing: 0.22px;
}

.text {
  font-family: 'Bitter', sans-serif;
  font-size: 18px;
  text-align: center;
  color: var(--color-accent);
  line-height: 30px;
}

.accent-text {
  text-align: center;
  color: var(--color-accent);
  font-size: 26px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: 0.5px;
}

.input {
  display: block;
  width: 100%;
  padding: 10px 20px;

  border-radius: 25px;
  border: none;
  outline: none;

  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 1.60px;
  line-height: 20px;
}

.input::placeholder {
  color: var(--color-accent);
  letter-spacing: 1.60px;
  line-height: 20px;
}

label.error {
  color: red;
  font-size: 14px;
  line-height: 1;
  top: -15px;
  display: block;
  position: relative;
  padding-left: 20px;
}

.btn {
  text-align: center;
  display: block;
  padding: 15px 0 15px 10px;
  width: 100%;
  max-width: 840px;

  background-color: var(--color-accent);
  border-radius: 50px;
  border: none;

  color: var(--color-text-secondary);
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 16px;
  letter-spacing: 13px;

  cursor: pointer;
  transition: all ease 0.3s;
}

.btn.longtext  {
letter-spacing: 0.25em !important;
}

.form__inputs p:has(.checkbox) label.error {
  top: 0;
  padding-left: 0;
  margin-top: 5px;
}

.checkbox {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.btn_back {
  margin: 0 auto;
  width:max-content;
  position: relative;
  background-color: transparent;
  color: var(--color-accent);
  padding: 0;
  padding-left: 30px;
}

.btn_back::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 20px;
  left: 0;
  top: 0;
  background-image: url(./assets/arrow-left.png);
  background-repeat: no-repeat;
}

.top {
  position: relative;
  background-color: var(--color-primary);
}

.top::before {
  content: '';
  position: absolute;

  width: 100%;
  height: 10px;
  bottom: -8px;
  
  background-image: url(./assets/bg-flat.png);
  background-repeat: repeat-x;
  transform: rotate(180deg);
}

.bottom {
  position: relative;
  background-color: var(--color-primary);
}

.bottom::before {
  content: '';
  position: absolute;

  width: 100%;
  height: 10px;
  top: -8px;
  
  background-image: url(./assets/bg-flat.png);
  background-repeat: repeat-x;
}

.list {
  max-width: 840px;
  position: relative;
  margin: 0 auto;
}

.list__item {
  position: relative;
}

.list__item::before,
.list:after  {
  content: '';
  position: absolute;

  width: 100%;
  height: 1px;

  background-color: var(--color-accent);
}

.list:after {
  bottom: 0;
}

.list__item::before {
  top: 0;
  left: 0;
}

.point-sale {
  padding-bottom: 14px;
}

.point-sale__number {
  color: var(--color-primary);
  font-size: 20px;
  text-transform: uppercase;
  line-height: 26px;
  letter-spacing: 0.4px;
}

.point-sale__address {
  color: var(--color-accent);
  font-size: 14px;
  font-family: 'Bitter', sans-serif;
  line-height: 21px;
}

.accordion__item._active .accordion__body {
  max-height: 500px;
  visibility: visible;
  opacity: 1;

  transition: all ease-out 0.3s;
}

.accordion__item:not(._active) .accordion__body {
  overflow: hidden;
  padding: 0;
  max-height: 0;
  visibility: hidden;
  opacity: 0;
  transition: all ease-out .3s;
}

.accordion__header {
  position: relative;
  cursor: pointer;
}

.accordion__btn {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  right: 15px;
  transform: translate(0, -50%);
}

.accordion__btn::after,
.accordion__btn::before {
  content: "";
  position: absolute;
  
  background-color: var(--color-accent);
  border-radius: 50px;
}

.accordion__btn::after {
  transition: all ease 0.3s;
  width: 2px;
  height: 100%;

  top: 0;
  left: 50%;

  transform: translate(-50%, 0);
}

.accordion__btn::before {
  width: 100%;
  height: 2px;
  
  top: 50%;
  left: 0;

  transform: translate(0, -50%);
}

.accordion__item._active .accordion__btn::after {
  transform: rotate(90deg) translate(1px, 0);
  transition: all ease 0.3s;
}

.accordion__item._active .accordion__btn::before {
  transform: rotate(180deg);
  transition: all ease 0.3s;
}

/* register */

.register__wrapper {
  background-image: url(./assets/bg-smooth.png);
  background-repeat: repeat-x;
  background-size: 100% auto;
}

.register__wrapper_short-bg {
  background-position-y: -110px;
}

.register__main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 71px 0 46px 0;
}

.register__content {
  flex: 1 0 auto;
  margin-right: -5px;
}

.register__content_center {
  padding-top: 65px
}

.register__title {
  margin: 30px 0 19px;
}

.register__subtitle {
  margin-bottom: 18px;
}

.register__subtitle:last-child {
  margin-bottom: 53px;
}

.register__form {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;

  margin-top: 35px;
}

.register__form .form__inputs {
  flex: 1 0 auto;
}

.form__inputs_center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -80px
}

.register__form .form__input {
  margin-bottom: 20px;
  border: 1px solid rgb(255, 191, 61);
}

@media(min-height: 700px) {
  .register__form .input_single {
    margin-bottom: 150px;
  }
}

.inputs_single {

}

/* account */

.account__body {
  position: relative;
  background-color: var(--color-primary);
}

.account__body::before {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 100%;
  height: 10px;
  background-image: url(./assets/bg-flat.png);
  background-position-y: 100%;
  background-repeat: repeat-x;
  transform: rotate(180deg);
}

.account__main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 0 24px;
}

.account__title {
  margin: 35px 0 35px;
  text-align: center;
}

.nav .list__item {
  padding: 18px 30px;
  color: var(--color-accent);
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 22px;
  letter-spacing: 0.4px;
}


.account__btn {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px 0;
  margin: 35px 0 0;
}

.account__nav {
  padding-bottom: 50px;
}

.account__nav .nav__item p {
  position: relative;
  width: max-content;
  padding-right: 18px;

  transition: all ease 0.3s;
  cursor: pointer;
}

.account__nav .nav__item p:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 20px;
  left: 100%;
  top: 0;
  background-image: url(./assets/arrow-left.png);
  background-repeat: no-repeat;
  transform: rotate(180deg);
}


/* order */

.order__main,
.requests__main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.order__main_bg {
  background-image: url(./assets/bg-smooth-short.png);
  background-size: 100% auto;
  background-position: 0 0;
  background-repeat: repeat-x;
}

.order__main_bg .order__top.top:before {
  background-image: none;
  padding-bottom: 0;
}

.order__main_bg .order__top.top {
  background-color: transparent;
}

.order__top {
  padding: 24px 0 15px;
}

.order__bottom {
  padding: 25px 0 30px;
  flex: 0 0 auto;
}

.order__content .order__text {
  color: var(--color-text);
  margin-bottom: 29px;
}

.order__content {
  flex: 1 0 auto;
  padding-top: 40px;
  padding-bottom: 65px;
}

.order__title {
  padding-top: 10px;
  padding-bottom: 70px;
}

.order__title.accent-text .order__number {
  font-size: 26px;
}

.order__text:last-child {
  margin-top: 12px;
}

.order__text-bold {
  font-size: 18px;
  font-family: 'Bitter', sans-serif;
  font-weight: 700;
  line-height: 30px;

  margin-bottom: 15px;
}

.order__products {
  margin-top: 25px;
}

.order__list {
  margin-bottom: 30px;
}

.order__list .list__item {
  display: flex;
  justify-content: space-between;

  padding: 8px 0 8px;

  font-size: 18px;
  font-family: 'Bitter', sans-serif;
  line-height: 25px;
}

.order__list p {
  flex: 0 0 50%;
}

.product-item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 34px; 
}

.product-item:last-child {
  margin-bottom: 0;
}

.product-item__text {
  font-size: 20px;
  text-transform: uppercase;
  line-height: 26px;
  letter-spacing: 0.4px;
}

.product-item__product {
  font-weight: 250;
}

.product-item__count {
  font-weight: 500;
}

.product-item__counter {
  margin-left: 35px;
}


.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-primary);
  border-radius: 25px;
}

.counter__btn {
  font-size: 40px;
  position: relative;
  width: 15px;
  padding: 23px;

  cursor: pointer;
}

.counter__count {
  margin: 0 7px 0;
  color: var(--color-accent);
  line-height: 20px;
  letter-spacing: 1.6px;
  min-width: 20px;
}

.counter__plus::before,
.counter__plus::after,
.counter__minus::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;

  width: 15px;
  height: 2px;

  transform: translate(-50%, -50%);
  background-color: var(--color-accent);
}

.counter__plus::after {
  width: 2px;
  height: 15px;
}

.order__btn {
  margin-top: 39px;
  margin-bottom: 24px;
}

.order__accordion {
  margin-top: -10px;
}

.order__accordion .accordion__header {
  padding: 13px 30px 0;
}

.order__accordion .accordion__body {
  padding: 0 30px 37px;
}

.order__point-sale .order__list {
  margin-top: 14px;
  margin-bottom: 10px;
}



/* requests */

.requests__top {
  padding: 20px 0 20px;
}

.requests__content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.requests__title {
  font-size: 26px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 26px;
  letter-spacing: 0.5px;
}

.requests__active .requests__title {
  padding-bottom: 15px;
  color: var(--color-primary);
}

.requests__finished .requests__title {
  padding-bottom: 25px;
  color: var(--color-accent);
}

.requests__active {
  flex: 1 0 auto;
  padding-top: 45px;
  padding-bottom: 65px;
}

.requests__finished {
  position: relative;
  flex: 0 0 auto;
  padding-top: 20px;
  background-color: var(--color-primary);
}

.requests__finished::before {
  content: "";
  position: absolute;
  width: 100%;
  height:10px;
  top: -8px;
  background-image: url(./assets/bg-flat.png);
  background-repeat: repeat-x;
}

.order__number,
.order__number_hash {
  color: var(--color-accent);
  font-size: 20px;
  text-transform: uppercase;
  line-height: 26px;
  letter-spacing: 0.4px;
}

.order__number_hash {
  font-weight: 250;
}

.requests__accordion .accordion__header {
  padding: 12px 15px 15px 30px;
}

.requests__accordion .accordion__body {
  padding: 5px 30px 20px 30px;
}

.requests__order .order__list::after {
  display: none;
}

.requests__order .order__list {
  margin-bottom: 0;
}

.requests__btn {
  margin-top: 25px;
}

.requests__finished .accordion__body {
  background-color: var(--color-text-secondary);
}

.requests__finished .list__item:first-child:before {
  display: none;
}


.page404 .title {
  text-align: center;
  width: 290px
}


@media (max-width: 350px) {
  .container {
    padding: 0 20px;
  }
  .product-item__counter {
    margin-left: 20px;
  }
  .order__accordion .accordion__header{

    padding: 13px 20px 0;
  }
  .order__accordion .accordion__body {
    padding: 0 20px 37px;
  }
}