div#block-newstratec3-primary-local-tasks .block__content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 20px;
  padding: 0;
}

div#block-newstratec3-primary-local-tasks .block__content ul li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background: #f5f5f5;
  color: #222;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}

div#block-newstratec3-primary-local-tasks .block__content ul li:hover {
  background: #222;
  color: #fff;
  border-color: #222;
}

div#block-newstratec3-primary-local-tasks .block__content ul li {
  text-decoration: none;
}

div#block-newstratec3-primary-local-tasks .block__content ul li a {
  text-decoration: none;
}

.messages__wrapper {
  background-color: #61c64c;
  padding: 20px 30px;
  font-size: 21px;
  color: white;
  margin: 20px;
}

[data-drupal-messages] .messages {
  position: relative;
  padding-right: 42px;
}

[data-drupal-messages] .messages__close {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

[data-drupal-messages] .messages__close:hover {
  opacity: 0.7;
}


/* =========================================================
   NODE CONTENT (карточка Заказа)
   ========================================================= */

.user--page-order .node__content {
  max-width: 900px;
  margin: 30px auto;
  padding: 24px 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-left: 30px;
}

@media (min-width:801px) {
  .user--page-order .node__content {
    margin-left: 30px;
  }
}

/* каждая строка */
.user--page-order .node__content>div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

/* убираем последнюю линию */
.user--page-order .node__content>div:last-child {
  border-bottom: none;
}

/* заголовки (Email, ИНН и т.д.) */
.user--page-order .node__content>div>div:first-child {
  font-weight: 600;
  color: #666;
  font-size: 20px;
}

/* значения */
.user--page-order .node__content>div>div:last-child {
  font-size: 21px;
  color: #222;
  word-break: break-word;
}

/* ссылки */
.user--page-order .node__content a {
  color: #820000;
  text-decoration: none;
  border-bottom: 1px dashed rgba(130, 0, 0, 0.4);
  font-size: 20px;
}

.user--page-order .node__content a:hover {
  border-bottom-color: transparent;
}

/* блок заказа — чуть выделим */
.user--page-order .node__content>div:last-child {
  background: #fafafa;
  padding: 16px;
  border-radius: 8px;
}

/* элементы заказа */
.user--page-order .node__content>div:last-child>div>div {
  padding: 6px 0;
  font-size: 14px;
}

.user--page-order .node__content .order-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f4eeee;
  color: #820000;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .user--page-order .node__content {
    padding: 16px;
  }

  .user--page-order .node__content>div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 0;
  }

  .user--page-order .node__content>div>div:first-child {
    font-size: 12px;
    color: #888;
  }

  .user--page-order .node__content>div>div:last-child {
    font-size: 14px;
  }
}


/* =========================================================
   USER FORMS: login / register / password
   Заголовок НЕ трогаем
   ========================================================= */

.user--page #block-newstratec3-content .user-login-form,
.user--page #block-newstratec3-content .user-register-form,
.user--page #block-newstratec3-content .user-pass {
  max-width: 760px;
  margin: 30px auto;
  padding: 28px;
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  box-shadow: 0 5px 32px rgb(0 0 0 / 3%);
}

.user--page #block-newstratec3-content .user-login-form .form-item,
.user--page #block-newstratec3-content .user-register-form .form-item,
.user--page #block-newstratec3-content .user-pass .form-item {
  margin: 0 0 18px;
}

.user--page #block-newstratec3-content .user-login-form label,
.user--page #block-newstratec3-content .user-register-form label,
.user--page #block-newstratec3-content .user-pass label {
  display: block;
  margin: 0 0 7px;
  color: #333;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
}

/* Поля ввода */
.user--page #block-newstratec3-content .user-login-form input.form-text,
.user--page #block-newstratec3-content .user-login-form input.form-email,
.user--page #block-newstratec3-content .user-login-form input.form-tel,
.user--page #block-newstratec3-content .user-login-form input.form-password,
.user--page #block-newstratec3-content .user-login-form textarea,

.user--page #block-newstratec3-content .user-register-form input.form-text,
.user--page #block-newstratec3-content .user-register-form input.form-email,
.user--page #block-newstratec3-content .user-register-form input.form-tel,
.user--page #block-newstratec3-content .user-register-form input.form-password,
.user--page #block-newstratec3-content .user-register-form textarea,

.user--page #block-newstratec3-content .user-pass input.form-text,
.user--page #block-newstratec3-content .user-pass input.form-email,
.user--page #block-newstratec3-content .user-pass input.form-tel,
.user--page #block-newstratec3-content .user-pass input.form-password,
.user--page #block-newstratec3-content .user-pass textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: 18px;
  line-height: 1.3;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* textarea */
.user--page #block-newstratec3-content .user-register-form textarea {
  min-height: 90px;
  resize: vertical;
}

/* focus */
.user--page #block-newstratec3-content .user-login-form input:focus,
.user--page #block-newstratec3-content .user-register-form input:focus,
.user--page #block-newstratec3-content .user-pass input:focus,
.user--page #block-newstratec3-content .user-login-form textarea:focus,
.user--page #block-newstratec3-content .user-register-form textarea:focus,
.user--page #block-newstratec3-content .user-pass textarea:focus {
  border-color: #820000;
  box-shadow: 0 0 0 3px rgba(130, 0, 0, 0.12);
}

/* Описания под полями */
.user--page #block-newstratec3-content .user-login-form .description,
.user--page #block-newstratec3-content .user-register-form .description,
.user--page #block-newstratec3-content .user-pass .description,
.user--page #block-newstratec3-content .user-pass p {
  margin: 6px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 1.45;
}

/* Checkbox */
.user--page #block-newstratec3-content .user-register-form .js-form-type-checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
}

.user--page #block-newstratec3-content .user-register-form .js-form-type-checkbox .form-checkbox {
  grid-column: 1;
  grid-row: 1;
  margin-top: 2px;
}

.user--page #block-newstratec3-content .user-register-form .js-form-type-checkbox label {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 15px;
}

.user--page #block-newstratec3-content .user-register-form .js-form-type-checkbox .description {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  margin-top: 6px;
  padding-left: 30px;
  box-sizing: border-box;
}

/* Кнопки */
.user--page #block-newstratec3-content .user-login-form .form-actions,
.user--page #block-newstratec3-content .user-register-form .form-actions,
.user--page #block-newstratec3-content .user-pass .form-actions {
  margin-top: 22px;
}

.user--page #block-newstratec3-content .user-login-form input.form-submit,
.user--page #block-newstratec3-content .user-register-form input.form-submit,
.user--page #block-newstratec3-content .user-pass input.form-submit,
.user--page #block-newstratec3-content .user-register-form .button {
  min-height: 46px;
  padding: 11px 26px;
  border: 1px solid #820000;
  border-radius: 6px;
  background: #820000;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.user--page #block-newstratec3-content .user-login-form input.form-submit:hover,
.user--page #block-newstratec3-content .user-register-form input.form-submit:hover,
.user--page #block-newstratec3-content .user-pass input.form-submit:hover,
.user--page #block-newstratec3-content .user-register-form .button:hover {
  background: #a40000;
  border-color: #a40000;
}

/* Кнопка-глаз у пароля */
.user--page #block-newstratec3-content .user-login-form .shwpd,
.user--page #block-newstratec3-content .user-register-form .shwpd {
  margin-left: 8px;
  border-radius: 6px;
}

/* Поля пароля с кнопкой рядом */
.user--page #block-newstratec3-content .user-login-form .js-form-type-password,
.user--page #block-newstratec3-content .user-register-form .js-form-type-password {
  position: relative;
}

.user--page #block-newstratec3-content .user-login-form .js-form-type-password input,
.user--page #block-newstratec3-content .user-register-form .js-form-type-password input {
  padding-right: 48px;
}

.user--page #block-newstratec3-content .user-login-form .js-form-type-password .shwpd,
.user--page #block-newstratec3-content .user-register-form .js-form-type-password .shwpd {
  position: absolute;
  right: 8px;
  top: 39px;
  width: 23px;
  height: 23px;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  opacity: 0.5;
}

/* Managed file */
.user--page #block-newstratec3-content .user-register-form input.form-file {
  width: 100%;
  padding: 10px;
  border: 1px dashed #cfcfcf;
  border-radius: 6px;
  background: #fafafa;
  font-size: 15px;
}

/* Password strength */
.user--page #block-newstratec3-content .user-register-form .password-strength,
.user--page #block-newstratec3-content .user-register-form .password-confirm-message {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}

.user--page #block-newstratec3-content .user-register-form .password-strength__meter {
  height: 6px;
  border-radius: 999px;
  background: #eeeeee;
  overflow: hidden;
}

.user--page #block-newstratec3-content .user-register-form .password-strength__indicator {
  height: 100%;
  background: #820000;
}

/* Ссылки внутри форм */
.user--page #block-newstratec3-content .user-login-form a,
.user--page #block-newstratec3-content .user-register-form a,
.user--page #block-newstratec3-content .user-pass a {
  color: #820000;
  text-decoration: none;
  border-bottom: 1px dashed rgba(130, 0, 0, 0.45);
}

.user--page #block-newstratec3-content .user-login-form a:hover,
.user--page #block-newstratec3-content .user-register-form a:hover,
.user--page #block-newstratec3-content .user-pass a:hover {
  border-bottom-color: transparent;
}

/* Mobile */
@media (max-width: 768px) {

  .user--page #block-newstratec3-content .user-login-form,
  .user--page #block-newstratec3-content .user-register-form,
  .user--page #block-newstratec3-content .user-pass {
    margin: 20px auto;
    padding: 18px;
    border-radius: 10px;
  }

  .user--page #block-newstratec3-content .user-login-form input.form-text,
  .user--page #block-newstratec3-content .user-register-form input.form-text,
  .user--page #block-newstratec3-content .user-pass input.form-text,
  .user--page #block-newstratec3-content .user-register-form input.form-email,
  .user--page #block-newstratec3-content .user-register-form input.form-tel,
  .user--page #block-newstratec3-content .user-register-form textarea {
    font-size: 16px;
  }

  .user--page #block-newstratec3-content .user-login-form input.form-submit,
  .user--page #block-newstratec3-content .user-register-form input.form-submit,
  .user--page #block-newstratec3-content .user-pass input.form-submit {
    width: 100%;
  }
}


/* =========================================================
   USER PROFILE VIEW: prof-gr-1 / prof-gr-2
   ========================================================= */

.user--page #block-newstratec3-content .block__content>article {
  max-width: 760px;
  margin: 30px 20px;
  padding: 0;
}

.user--page #block-newstratec3-content #prof-gr-1,
.user--page #block-newstratec3-content #prof-gr-2 {
  margin: 0 0 22px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.03);
}

/* строки внутри prof-gr-2 */
.user--page #block-newstratec3-content #prof-gr-2>div {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eeeeee;
}

.user--page #block-newstratec3-content #prof-gr-2>div:last-child {
  border-bottom: 0;
}

/* название поля */
.user--page #block-newstratec3-content #prof-gr-2>div>div:first-child {
  color: #666;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

/* значение поля */
.user--page #block-newstratec3-content #prof-gr-2>div>div:last-child {
  color: #222;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
}

/* галочка */
.user--page #block-newstratec3-content #prof-gr-2>div:nth-child(2)>div:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4eeee;
  color: #820000;
  font-size: 22px;
  font-weight: 700;
}

/* блок "Зарегистрирован на сайте" */
.user--page #block-newstratec3-content #prof-gr-1 .form-item {
  margin: 0;
  color: #222;
  font-size: 20px;
  line-height: 1.4;
}

.user--page #block-newstratec3-content #prof-gr-1 h4.label {
  margin: 0 0 8px;
  color: #666;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .user--page #block-newstratec3-content .block__content>article {
    margin: 20px auto;
  }

  .user--page #block-newstratec3-content #prof-gr-1,
  .user--page #block-newstratec3-content #prof-gr-2 {
    padding: 18px;
    border-radius: 10px;
  }

  .user--page #block-newstratec3-content #prof-gr-2>div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .user--page #block-newstratec3-content #prof-gr-2>div>div:first-child,
  .user--page #block-newstratec3-content #prof-gr-1 h4.label {
    font-size: 16px;
  }

  .user--page #block-newstratec3-content #prof-gr-2>div>div:last-child,
  .user--page #block-newstratec3-content #prof-gr-1 .form-item {
    font-size: 18px;
  }
}

/* =========================================================
   USER EDIT FORM (Seven) — НОРМАЛЬНЫЙ ВИД
   ========================================================= */
/* 
#block-seven-content .user-form {
  max-width: 900px;
  margin: 30px auto;
  padding: 30px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eee;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

#block-seven-content .user-form input.form-text,
#block-seven-content .user-form input.form-email,
#block-seven-content .user-form input.form-tel,
#block-seven-content .user-form input.form-password,
#block-seven-content .user-form textarea,
#block-seven-content .user-form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 18px;
  background: #fff;
  box-sizing: border-box;
}


#block-seven-content .user-form input:focus,
#block-seven-content .user-form textarea:focus,
#block-seven-content .user-form select:focus {
  border-color: #820000;
  box-shadow: 0 0 0 3px rgba(130,0,0,0.12);
  outline: none;
}


#block-seven-content .user-form label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}


@media (min-width: 900px) {
  #edit-account,
  #edit-field-organizaciya-wrapper,
  #edit-field-inn-wrapper,
  #edit-field-telefon-organizacii-wrapper,
  #edit-field-pochtovyy-indeks-wrapper,
  #edit-field-gorod-wrapper,
  #edit-field-adres-dostavki-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}


#block-seven-content .user-form textarea {
  min-height: 100px;
}


#block-seven-content .user-form .form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #820000;
}

/* строка с политикой */
#block-seven-content .user-form #edit-field-accept-wrapper .js-form-type-checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
}

#block-seven-content .user-form #edit-field-accept-wrapper .description {
  grid-column: 1 / -1;
  padding-left: 30px;
}


#block-seven-content .user-form input.form-submit {
  margin-top: 20px;
  padding: 12px 28px;
  font-size: 18px;
  border-radius: 6px;
  border: 1px solid #820000;
  background: #820000;
  color: #fff;
  cursor: pointer;
}

#block-seven-content .user-form input.form-submit:hover {
  background: #a40000;
}


#block-seven-content .user-form details {
  margin-top: 20px;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fafafa;
}

*/

/* Только блок "Зарегистрирован на сайте" */
.user--page #block-newstratec3-content #prof-gr-1 {
  max-width: 760px;
  margin: 22px auto;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.user--page #block-newstratec3-content #prof-gr-1 .form-item {
  margin: 0;
  color: #222;
  font-size: 20px;
  line-height: 1.45;
}

.user--page #block-newstratec3-content #prof-gr-1 h4.label {
  margin: 0 0 8px;
  color: #666;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

@media (max-width: 768px) {
  .user--page #block-newstratec3-content #prof-gr-1 {
    margin: 18px auto;
    padding: 18px;
    border-radius: 10px;
  }

  .user--page #block-newstratec3-content #prof-gr-1 .form-item {
    font-size: 18px;
  }

  .user--page #block-newstratec3-content #prof-gr-1 h4.label {
    font-size: 16px;
  }
}