@font-face {
  font-family: 'Source_Serif';
  src: url('../fonts/DM_Sans/DMSans-VariableFont_opsz\,wght.ttf') format('truetype-variations');
  font-weight: 300 900;
  font-stretch: 75% 125%;
  font-style: normal;
}

:root {
  --main-bg-color: #ffffff;
  --second-bg-color: #132d6e;
  --main-text-color: #1C242E;
  --second-text-color: #74787C;
  --gray-text-color: #999DA1;
  --accent-color: #736FEE;
  --error-color: #FF5B4A;
  --main-font-family: "DM Sans";
  --line-1: 1;
  --line-2: 1.2;
  --line-4: 1.4;

}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

html {
  font-size: 62.5%;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

a {
  background-color: transparent;
  transition: all 0.25s;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  padding: 0;
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

body {
  margin: 0;
  font-family: var(--main-font-family), sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: var(--line-1);
  color: var(--main-text-color);
  background: var(--main-bg-color);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--main-text-color);
  transition: all 0.25s;
}



a:not([class]) {
  text-decoration-skip-ink: auto;
}

img {
  width: 100%;
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background: inherit;
  cursor: pointer;
  transition: all 0.25s;
}

.section {
  max-width: 126rem;
  width: 100%;
  margin: 0 auto;
  padding-left: 3rem;
  padding-right: 3rem;
}



.container {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.container-top {
  padding-top: 10rem;
  padding-bottom: 0;
}

.box {
  display: flex;
  flex-direction: column;
}

.box-row {
  display: flex;
  flex-direction: row;
}

dialog::backdrop {
  background: #00000099;
  backdrop-filter: blur(2px)
}

.dialog {
  max-width: 50.8rem;
  width: 100%;
  max-height: 80dvh;
  overflow-y: auto;
  position: fixed;
  padding: 6.2rem 6rem;
  background: var(--main-bg-color);
  border: none;
  outline: none;
}


.enter-form {
  gap: 3.2rem;
}

.enter-btn__close {
  width: 2.2rem;
  height: 2.2rem;
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.enter-wrap {
  gap: 2.4rem;
}

.enter-title {
  font-weight: 500;
  font-size: 3.2rem;
  text-align: center;
  text-transform: uppercase;
}

.enter-descr {
  font-weight: 400;
  font-size: 1.8rem;
  text-align: center;
  color: var(--second-text-color);
}

.enter-box {
  gap: 1.2rem;
}

.enter-box__block {
  position: relative;
}

.enter-img {
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 1.4rem;
  left: 0;
}

.enter-label {
  width: 100%;
}

.enter-input {
  width: 100%;
  padding: 1.5rem 2rem 1.5rem 3.6rem;
  font-weight: 400;
  font-size: 1.6rem;
  border: none;
  outline: none;
  border-bottom: 1px solid #D8DCDE;
}

.enter-input::placeholder {
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--gray-text-color);
}

.enter-box__block {
  gap: 0.8rem;
}

.enter-label__text1,
.enter-label__text2 {
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--gray-text-color);
}

.enter-label__text2 {
  color: var(--error-color);
}

.enter-btn__password {
  position: absolute;
  top: 1.4rem;
  right: 0;
}


.enter-label__text2,
.enter-img__eye2 {
  display: none;
}

.reg-checkbox__error,
.reg-text__error,
.forgot-text__error,
.enter-text__error {
  display: none;
  font-weight: 400;
  font-size: 1.6rem;
  text-align: center;
  color: var(--error-color);
}

.enter-btn__forgot {
  margin-left: auto;
  font-weight: 400;
  font-size: 1.6rem;
}

.enter-block {
  gap: 0.8rem;
}

.registration-btn__close,
.enter-btn__reg,
.forgot-btn__close,
.enter-btn__forg,
.enter-btn {
  width: 100%;
  padding: 2rem;
  font-weight: 500;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--main-bg-color);
  background: var(--accent-color);
}

.enter-text {
  position: relative;
  margin: 0.8rem;
  font-weight: 400;
  font-size: 1.6rem;
  text-align: center;
  color: var(--second-text-color);
}

.enter-btn__registration {
  padding: 1.8rem;
  font-weight: 500;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--main-text-color);
  background: var(--main-bg-color);
  border: 2px solid #1C242E;
}

.enter-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 1.5rem 0;
}

.enter-divider__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #D8DCDE;
  transform: translateY(-50%);
}

.enter-divider__text {
  padding: 0 1rem;
  position: relative;
  z-index: 1;
  font-weight: 400;
  font-size: 1.6rem;
  text-align: center;
  color: var(--second-text-color);
  background: var(--main-bg-color);
}

.enter-text__descr {
  font-weight: 400;
  font-size: 1.4rem;
  text-align: center;
  color: var(--second-text-color);
}

.enter-input.error {
  border-bottom: 1px solid var(--error-color);
}

.enter-btn__back {
  margin-top: 0.8rem;
  font-weight: 400;
  font-size: 1.6rem;
  text-align: center;
}

.enter-wrap__success {
  gap: 3.2rem;
}

.enter-title__success {
  font-weight: 500;
  font-size: 3.2rem;
  text-align: center;
  text-transform: uppercase;
}

.registration-dialog__success,
.registration-dialog {
  max-width: 72rem;
}

.upload-container {
  gap: 0.8rem;
}

.drop-zone {
  padding: 2rem;
  position: relative;
  gap: 0.4rem;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border: 1px dashed #D8DCDE;
  background: #ffffff;
}

.drop-zone-icon {
  width: 2rem;
  height: 2rem;
}

.drop-descr {
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--gray-text-color);
}

.drop-zone-text {
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--gray-text-color);
}

.drop-zone-hint {
  font-size: 14px;
  color: #90a4ae;
  margin-top: 8px;
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.reg-list__file {
  padding: 1rem 2rem;
  gap: 1rem;
  background: #F5F5F5;
}

.file-list {
  gap: 1rem;
  justify-content: space-between;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #eceff1;
  font-size: 14px;
  color: #263238;
  transition: background 0.2s;
}

.file-item .file-icon {
  font-size: 24px;
  line-height: 1;
  color: #546e7a;
}

.file-item .file-name {
  flex: 1;
  word-break: break-all;
}

.file-item .file-size {
  color: #90a4ae;
  font-size: 12px;
  white-space: nowrap;
}

.file-item .file-remove {
  background: none;
  border: none;
  color: #b0bec5;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}

.file-item .file-remove:hover {
  color: #e53935;
}

.empty-message {
  font-weight: 400;
  font-size: 1.6rem;

}

.file-box__btn {
  gap: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 1.6rem;

  cursor: pointer;
}

.form-checkbox input {
  display: none;
}

.form-checkbox span {
  min-width: 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-block;
  border: 1px solid var(--gray-text-color);
  position: relative;
}

.form-checkbox input:checked+span::after {
  width: 1.5rem;
  height: 1.5rem;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(../assets/svg/done.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.checkbox-descr {
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--gray-text-color)
}

.checkbox-descr a {
  text-decoration: underline;
  color: var(--main-text-color);

}

.reg-block {
  gap: 1.2rem;
}

.reg-box__succes {
  gap: 2.4rem;
}

.reg-block__succes {
  gap: 0.8rem;
}

.reg-icon__verified {
  width: 6.4rem;
  height: 6.4rem;
  margin: 0 auto;
}

.reg-text__success2,
.reg-text__success2 a,
.reg-text__success1 {
  font-weight: 400;
  font-size: 1.8rem;
  text-align: center;
  color: var(--main-text-color);
}

.reg-text__success2,
.reg-text__success2 a {
  color: var(--second-text-color);
}

.header {
  padding: 2rem 7rem;
  background: var(--main-text-color);
}

.header-container {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-name {
  font-weight: 500;
  font-size: 3.2rem;
  text-transform: uppercase;
  color: var(--main-bg-color);
}

.header-wrap {
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-box {
  width: 4.8rem;
  height: 4.8rem;
  align-items: center;
  justify-content: center;
  background: #CB187C;
  border-radius: 50%;
}

.header-box img {
  width: 2.4rem;
  height: auto;
  object-fit: contain;
}

.header-user {
  font-weight: 400;
  font-size: 1.8rem;
  text-align: center;
  color: var(--main-bg-color);
}

.main-section {
  box-shadow: 0px 0px 4px 0px #999DA1;
}

.menu {
  min-width: 31.4rem;
  background: #F5F5F5;
  box-shadow: 2px 0px 6px 0px #00000026;
}

.menu-list {
  padding-top: 2.4rem;
}

.menu-item {
  position: relative;
}

.menu-link {
  padding: 1.8rem 0 1.8rem 11.4rem;
  display: block;
  font-weight: 500;
  font-size: 1.8rem;
}

.menu-icon {
  width: 2.4rem;
  height: 2.4rem;
  position: absolute;
  top: 50%;
  left: 7rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.menu-item {
  color: var(--main-text-color);
}

.menu-item:hover,
.menu-item:focus-within,
.menu-item--current {
  color: var(--main-bg-color);
  background: #CB187C;
  ;
}

.menu-item--current a,
.menu-item:hover a,
.menu-item:focus-within a {
  color: var(--main-bg-color);
}

.profile,
.history {
  width: 100%;
  padding: 2.4rem 4.8rem;
  gap: 2rem;
}

.title {
  font-weight: 500;
  font-size: 2rem;
  text-transform: uppercase;
}

.history,
.history-box {
  width: 100%;
}

.history-box {
  border: 1px solid #D8DCDE
}


.history-list__header {
  width: 100%;
  padding: 1.2rem 2rem;
  background: var(--second-text-color);
}

.history-item__header {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 500;
  font-size: 1.4rem;
  text-transform: uppercase;
  text-align: center;
  justify-content: center;
  color: var(--main-bg-color);
}

.history-item__header img {
  width: 1.2rem;
  height: 1.2rem;
}

.history-item__header:nth-child(1),
.history-number {
  width: 8.5%;
  text-align: left;
  justify-content: left;
}

.history-item__header:nth-child(2),
.history-list__products {
  max-width: 22.5%;
  width: 100%;
}

.history-item__header:nth-child(3),
.history-date {
  width: 12.8%;
}

.history-item__header:nth-child(4),
.history-price {
  width: 10.5%;
}

.history-item__header:nth-child(5),
.history-status {
  width: 14.2%;
}

.history-item__header:nth-child(6),
.history-order {
  width: 14.9%;
}

.history-item__header:nth-child(7),
.history-link__order {
  max-width: 17.5%;
}

.history-item__info {
  padding: 2rem;
}

.history-item__info {
  background: #F5F5F5;
}

.history-item__info:nth-child(2n) {
  background: var(--main-bg-color);
}

.history-number {
  font-weight: 400;
  font-size: 1.4rem;
}

.history-list__products {
  gap: 0.8rem;
}

.history-product__info {
  gap: 0.8rem;
  align-items: center;
}

.history-product__info img {
  width: 4rem;
  height: 4rem;
}

.history-product__name {
  font-weight: 500;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.history-product__quantity {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: var(--line-4);
  color: var(--second-text-color);
}

.history-date,
.history-price,
.history-status,
.history-order,
.history-link__order {
  font-weight: 400;
  font-size: 1.4rem;
  text-align: center;
}

.history-link__order {
  min-width: max-content;
  width: max-content;
  padding-right: 2rem;
  position: relative;
}

.history-link__order::after {
  content: '';
  width: 1.6rem;
  height: 1.6rem;
  position: absolute;
  top: 8px;
  right: 0;
  transform: translateY(-50%);
  background-image: url(../assets/svg/left-arrow.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;

}

.history-order--done {
  color: #008B1D;
}

.history-order--accepted {
  color: #FF8D28;
}

.history-order--canceled {
  color: #FF5B4A;
}

.profile-card {
  width: 100%;
  max-width: 820px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 32px 36px 40px;
  transition: 0.2s;
}

.profile-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1a2634;
  letter-spacing: -0.2px;
  margin: 0 0 6px 0;
}

.profile-card .subhead {
  font-size: 14px;
  color: #7a8798;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.profile-list {
  gap: 1.2rem;
}

.profile-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s;
}



.profile-name {
  min-width: 33.7%;
  width: 33.7%;
  font-weight: 400;
  font-size: 1.8rem;
}

.profile-field {
  min-height: 5rem;
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.profile-block {
  width: 100%;
  display: flex;
  align-items: center;
  background: #F5F5F5;
  border: 1px solid #D8DCDE
}

.profile-field input[type="text"],
.profile-field input[type="password"] {
  min-width: 0;
  flex: 1;
  padding: 1.4rem 2.4rem;
  font-weight: 400;
  font-size: 1.8rem;
  color: #1a2634;
  transition: border 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}


.btn-save.hidden {
  display: none;
}

.profile-field input:focus {
  margin-right: 1rem;
  background: inherit;
  outline: none;
  border: none;
}

.profile-field input:disabled {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  cursor: default;
  color: #1a2634;
}

.profile-field input:disabled:hover {
  border-color: transparent;
}

.profile-field input[type="password"]:disabled {
  letter-spacing: 4px;
  font-size: 18px;
}

.profile-field .btn-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 2.4rem;
  flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}



.profile-field .btn-icon:active {
  transform: scale(0.92);
}

.profile-field .btn-icon.hidden {
  display: none;
}

.profile-field .btn-save {
  width: 20rem;
  flex-shrink: 0;
  padding: 1.6rem;
  font-family: DM Sans;
  font-weight: 500;
  font-size: 1.4rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: var(--main-bg-color);
  border: 2px solid #1C242E
}



.profile-field .btn-save:active {
  transform: scale(0.96);
}

.profile-field .btn-save.hidden {
  display: none;
}

.docs-display {
  min-height: 5rem;
  padding: 1.4rem 2.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.docs-display .doc-tag {
  font-weight: 400;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;

}



.docs-display .doc-tag .doc-icon {
  width: 1.6rem;
  height: 1.6rem;
}

.docs-display .doc-tag .doc-size {
  color: #6b7a8e;
  font-size: 11px;
  font-weight: 400;
}

.profile-btn {
  width: 65.3%;
  margin-left: auto;
  padding: 2rem;
  font-weight: 500;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--main-bg-color);
  background: var(--accent-color);
}

.profile-dialog__success {
  max-width: 72rem;
}

.profile-desc__success {
  margin-top: -0.8rem;
  font-weight: 400;
  font-size: 1.8rem;
  text-align: center;
  color: var(--second-text-color);
}

.profile-icon {
  width: 6.4rem;
  height: 6.4rem;
  display: block;
  margin: 0 auto;
}

.icon-box {
  width: 40rem;
  height: 40rem;
  position: relative;
}

.icon-box__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: #1C242EBF;
  backdrop-filter: blur(10px)
}

.icon-text {
  max-width: 32rem;
  width: 100%;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: var(--line-4);
  text-align: center;
  color: #D2D6DA;
}

.icon-btn {
  max-width: 32rem;
  width: 100%;
  padding: 1.8rem;
  font-weight: 500;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--main-bg-color);
  border: 2px solid var(--main-bg-color);
  background: none;
}

.history-item__menu--first,
.history-list__menu {
  display: none;
}



@media (max-width:1300px) {
  .icon-box__bg {
    gap: 1.6rem;
  }

  .icon-text {
    max-width: 28rem;
    font-size: 1.4rem;
    line-height: var(--line-3);
  }

  .icon-btn {
    max-width: 28rem;
    font-size: 1.2rem;
  }

  .enter-title {
    font-size: 2.8rem;
  }

  .registration-btn__close,
  .enter-btn__reg,
  .forgot-btn__close,
  .enter-btn__forg,
  .enter-btn {
    padding: 1.8rem;
    font-size: 1.2rem;
  }

  .enter-divider {
    margin: 0.8rem 0;
  }

  .enter-descr__forgot {
    font-size: 1.6rem;
  }

  .registration-dialog__success,
  .registration-dialog {
    max-width: 64.8rem;
  }

  .header {
    padding: 2.2rem 3rem;
  }

  .header-name {
    font-size: 2.2rem;
  }

  .header-wrap {
    gap: 1.2rem;
  }

  .header-box {
    width: 4rem;
    height: 4rem;
  }

  .header-user {
    font-size: 1.6rem;
  }

  .menu {
    min-height: 100%;
    width: 8.4rem;
    min-width: 8.4rem;
    transition: width 0.3s ease;
    position: absolute;
  }

  .menu.open {
    width: 22rem;
    min-width: 22rem;
    position: absolute;
  }

  .menu-list {
    position: relative;
    z-index: 20;
  }

  .menu-toggle {
    position: absolute;
    right: -2.6rem;
    top: 0;
    width: 3rem;
    height: 4.8rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../assets/png/bg-ellipse.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .menu-toggle::after {
    content: '';
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    background-image: url(../assets/svg/left-arrow.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
  }

  .menu.open .menu-toggle::after {
    transform: rotate(180deg);
  }

  .menu-link {
    padding: 2rem 0 2rem 6.6rem;
    font-size: 1.6rem;
    opacity: 0;
  }

  .open .menu-link {
    opacity: 1;
  }

  .menu-icon {
    left: 3rem;
  }

  .main-section {
    position: relative;
    overflow-y: hidden;
  }

  .profile,
  .history {
    padding: 2.4rem 3rem 2.4rem 11rem;
  }

  .history-list__header {
    padding: 2rem;
  }

  .profile-field input[type="text"],
  .profile-field input[type="password"] {
    padding: 1.2rem 1.6rem;
    font-size: 1.6rem;
  }

  .profile-name {
    min-width: 28%;
    width: 28%;
    font-size: 1.6rem;
  }

  .profile-field .btn-icon {
    margin-right: 1.6rem;

  }

  .profile-item {
    gap: 0.8rem;
  }

  .profile-field .btn-save {
    width: 12rem;
    padding: 1.6rem;
    font-size: 1.2rem;
  }

  .profile-btn {
    width: 71%;
    padding: 1.8rem;
    font-size: 1.2rem;
  }

  .history-item__info {
    flex-wrap: wrap;
  }

  .history-item__header:nth-child(1),
  .history-number {
    width: 16.4%;
  }

  .history-item__header:nth-child(2),
  .history-list__products {
    max-width: 40.4%;
  }

  .history-item__header:nth-child(3),
  .history-date {
    width: 22.6%;
  }

  .history-item__header:nth-child(4),
  .history-price {
    width: 20%;
  }

  .history-item__header:nth-child(5),
  .history-status,
  .history-item__header:nth-child(6),
  .history-order,
  .history-item__header:nth-child(7),
  .history-link__order {
    display: none;
  }

  .history-list__menu {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    display: flex;
    gap: 0.8rem;
    border-top: 1px solid #D8DCDE
  }

  .history-list__menu .history-item__menu:last-child {
    align-items: center;
  }

  .history-item__menu {
    gap: 2rem;
  }

  .history-item__menu .history-item__header {
    min-width: 15.2rem;
    color: var(--main-text-color);
  }

  .history-item__menu .history-status,
  .history-item__menu .history-order,
  .history-item__menu .history-link__order {
    width: max-content;
    display: flex;
  }

}

@media (max-width:767px) {
  .header {
    padding: 1rem;
  }

  .header-name {
    font-size: 1.6rem;
  }

  .header-wrap {
    flex-direction: column;
    gap: 0.4rem;
  }

  .header-box {
    width: 3.2rem;
    height: 3.2rem;
  }

  .header-user {
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: none;
  }

  .menu-list {
    flex-direction: row;
    padding-top: 0;
  }

  .menu {
    min-height: auto;
    width: 100%;
    min-width: 100%;
    position: fixed;
    bottom: 0;
  }

  .menu-item {
    width: 25%;
    min-height: 6.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .menu-icon {
    width: 2rem;
    height: 2rem;
    top: 2.2rem;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .menu-link {
    width: 100%;
    height: 100%;
    padding: 4rem 0 0;
    font-size: 1.2rem;
    opacity: 1;
    text-align: center;
  }


  .profile,
  .history {
    padding: 2.4rem 1rem 10.4rem;
  }

  .title {
    font-size: 1.4rem;
  }

  .profile-item {
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
  }

  .profile-name {
    min-width: 100%;
    width: 100%;
    font-size: 1.4rem;
  }

  .profile-field {
    min-height: 4rem;
    width: 100%;
    gap: 0.8rem;
    flex-wrap: wrap;
  }

  .profile-field input[type="text"],
  .profile-field input[type="password"] {
    padding: 1rem 0 1rem 1.2rem;
    font-size: 1.4rem;
  }

  .profile-field .btn-save {
    width: 30rem;
    padding: 1.2rem;
  }

  .profile-field .btn-icon {
    width: 1.6rem;
    height: 1.6rem;
  }

  .profile-field::placeholder {
    font-size: 1.4rem;
  }

  .docs-display {
    min-height: 4rem;
    padding: 1.2rem;
  }

  .docs-display .doc-tag {
    font-size: 1.4rem;
    gap: 0.4rem;
  }

  .profile-btn {
    width: 30rem;
    margin: 0 auto;
    padding: 1.6rem;
    font-size: 1.2rem;
  }

  .history-item__header:nth-child(2),
  .history-list__products {
    display: none;
  }

  .history-list__header {
    padding: 1.6rem 0.6rem;
  }

  .history-item__header:nth-child(1),
  .history-number {
    width: 25%;
  }

  .history-item__header:nth-child(3),
  .history-date {
    width: 45.7%;
  }

  .history-item__header:nth-child(4),
  .history-price {
    width: 29%;
  }

  .history-item__header {
    font-size: 1.2rem;
  }

  .history-item__info {
    padding: 1.2rem 1rem;
  }

  .history-list__menu {
    gap: 0.4rem;
  }

  .history-item__menu .history-item__header {
    min-width: 12rem;
  }

  .history-item__menu--first {
    margin-bottom: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .history-item__menu--first .history-item__header:nth-child(2),
  .history-item__menu--first .history-list__products {
    display: flex;
    width: 100%;
    max-width: 100%;
  }

  .icon-box__bg {
    padding: 0 3rem;
  }

  .icon-box {
    width: 30rem;
    height: auto;
  }

  .dialog {
    max-width: 28rem;
    padding: 3.2rem 2.4rem;
  }

  .enter-btn__close {
    top: 1rem;
    right: 1rem;
  }

  .enter-form {
    gap: 2rem;
  }

  .enter-wrap {
    gap: 1.2rem;
  }

  .enter-title {
    font-size: 2.2rem;
  }

  .enter-descr {
    font-size: 1.6rem;
  }

  .enter-box {
    gap: 0.8rem;
  }

  .enter-box__block {
    gap: 0.4rem;
  }

  .enter-input {
    padding: 1.5rem 2rem 1.5rem 3.6rem;
    font-size: 1.4rem;
  }

  .enter-label__text1,
  .enter-label__text2 {
    font-size: 1.2rem;
  }

  .enter-btn__forgot {
    font-size: 1.4rem;
  }

  .registration-btn__close,
  .enter-btn__reg,
  .forgot-btn__close,
  .enter-btn__forg,
  .enter-btn {
    padding: 1.6rem;
  }

  .enter-divider {
    margin: 0.2rem 0;
  }

  .reg-text__success2,
  .reg-text__success2 a,
  .reg-text__success1,
  .reg-checkbox__error,
  .reg-text__error,
  .forgot-text__error,
  .enter-text__error,
  .enter-divider__text {
    font-size: 1.4rem;
  }

  .enter-btn__registration {
    padding: 1.6rem;
    font-size: 1.2rem;
  }

  .enter-btn__back {
    margin-top: 0.4rem;
    font-size: 1.4rem;
  }

  .drop-zone-text,
  .enter-input::placeholder {
    font-size: 1.4rem;
  }

  .checkbox-descr {
    font-size: 1.2rem;
  }

  .enter-title__success {
    font-size: 2.2rem;
  }

  .reg-box__succes {
    gap: 1.6rem;
  }

  .enter-wrap__success {
    gap: 2rem;
  }

  .profile-desc__success {
    margin-top: -0.4rem;
    font-size: 1.4rem;
  }

  .forgot-dialog.dialog,
  .enter-dialog.dialog,
  .registration-dialog.dialog {
    max-width: 30rem;
    padding: 4.2rem 2rem;
  }

  .reg-list__file {
    padding: 1rem 1.2rem;
    gap: 0.8rem;
    background: #F5F5F5;
  }

  .drop-descr {
    font-size: 1.2rem;
  }

  .empty-message {
    font-size: 1.4rem;
  }
}

@media(max-width:369px) {
  .menu-item:nth-child(3) .menu-link {
    padding: 3rem 0 0;
  }

  .menu-item:nth-child(3) .menu-icon {
    top: 1.8rem;
  }
}

.swiper__btn {
  display: none !important;
}