
.header-middle__link-count.empty_cart,
.header-bottom__link-count.empty_cart {
    display: none;
}

.form-item label, .form-item .description {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: var(--grey);
}
.form-item .description {
 margin-top: 5px;
}
.form-item input {
    padding: 14.5px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--black);
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    -webkit-transition: border 0.3s ease-in;
    transition: border 0.3s ease-in;
    width: 100%;
    max-width: 500px;
}



form [type=submit] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    background-color: transparent;
    cursor: pointer;
}

#edit-submit {
    color: var(--white);
    background-color: var(--accent);
    -webkit-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}
a.account-content__button {
    color: var(--black);
}

.page-taxonomy-term-all h1 {
    display: none;
}
.product-card-slider {
    display: none;
}
/*.product-card__picture img {
    max-width: 211px;
    height: auto;
    background: #ffffff;
    max-height: 211px;
    margin: 0 auto;
}*/
.add-to-cart__count.not-for-view,
.header-bottom__link-count.not-for-view,
.header-middle__link-count.not-for-view {
    display: none;
}
/*.swiper-slide .product-card__descr {
    display: none;
}*/
.product-post__status.out-of-stock {
    color: var(--accent);
}
.product-post__meta .out-of-stock::before {
    background-color: #e1110e;
}

.product-post .product-post__img {
    margin: 0 auto;
}
.product-post .product-post__img img {
    aspect-ratio: inherit;
    max-height: 568px;
}
.product-card-node {
    display: none;
}
@media (max-width: 768px) {
    .product-post .product-post__img img {
        padding: 0 20px;
    }
}


/*.not-logged-in .product-post__message {
  display: block;
}
.logged-in .product-post__message {
  display: none;
}*/

.category-content__area #block-avpt-commerce-avpt-catalog-term-preview,
.category-content__area #block-avpt-commerce-avpt-catalog-term-title, 
.category-content__area .view-filters {
    display: none;
}
.category-content__area .product-card__descr p {
    margin: 0px;
}
.filter .hide-facet-block {
    display: none;
} 
.filter #block-block-3 {
    display: none;
}
.filter #enabled_filters {
    display: none;
}
#show-filters, 
#hide-filters {
    display: none; 
}
.block-facetapi h2, .block-facetapi .content {
    display: none; 
}
#avpt-commerce-aplly-filters {
    display: none; 
}
#avpt-filter-selected {
    display: none;
}
.swiper-slide .product-card__actions .product-card__price {
    display: none;
}
.cart-total-info div,
.cart-total-line-info div {
    display: inline;
}
.view-commerce-cart-form {
    display: none;
}
#commerce-checkout-form-checkout, 
#commerce-checkout-form-complete {
    display: none;
}
.btn-reset1 {
    border: none;
    background-color: transparent;
    cursor: pointer;
}
#edit-contact {
    display: none;
}
#field-client-birthday-add-more-wrapper fieldset {
    border: none;
    padding-left: 0px;
}
#field-client-birthday-add-more-wrapper fieldset legend {
    color: var(--grey);
}
#field-client-birthday-add-more-wrapper fieldset.date-combo .container-inline-date .date-padding {
    padding-left: 0px;
}
#field-client-birthday-add-more-wrapper fieldset .form-item label {
    display: none;
}
#edit-account .password-parent, 
#edit-account .confirm-parent {
    width: 100%;
}    
div.form-item div.password-suggestions {
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

#edit-account .password-strength,
#edit-account .password-confirm {
    margin-bottom: 10px;
}
.account-orders__table thead th a {
    color: var(--grey);
}
.account-orders__table td {
    background: #ffffff;
}
.account-orders__table td.views-field-order-number a {
    color: var(--accent);
}
.account-orders__table td.views-field-status {
    color: var(--green);
}
h2.page-heading {
    margin: 0 0 24px;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
}

.account-orders__table #cart_title,
.account-orders__table .bottom-indent,
.account-orders__table .btn-sm,
.account-orders__table .footer_links {
    display: none;
}
.account-orders__table table {
  width: 100%;
  max-width: 100%;
  table-layout: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-collapse: collapse;
}

.account-purchases .panel-config__sort {
    display: none;
}
.account-purchases .panel-config__found {
    opacity: 0;
}
.account-purchases .panel-config__filter-btn {
    display: none;
}

@media (max-width: 768px) {
    .account-orders__table td.views-field-order-number::before {
      content: "Номер заказа";
    }
    .account-orders__table td.views-field-placed::before {
      content: "Дата";
      margin-right: 16px;
    }
    .account-orders__table td.views-field-commerce-order-total::before {
      content: "Сумма";
      margin-right: 16px;
    }
    .account-orders__table td.views-field-status::before {
      content: "Статус";
      margin-right: 16px;
    }
    .account-orders__table td.views-field-order-number,
    .account-orders__table td.views-field-placed,
    .account-orders__table td.views-field-commerce-order-total,
    .account-orders__table td.views-field-status {
      /*padding: 8px 16px;*/
    }
    .account-orders__table table tr {
        display: block;
        border: 1px solid var(--border);
        border-radius: 8px;
        width: 100%;
        background: #ffffff;
    }
    .account-orders__table td {
        background: none;
    }
    .account-orders__table tr.even, .account-orders__table tr.odd {
        padding: 0px;
    }
    .account-orders__table tbody {
    border-top: none;
    }
    
    #block-block-2 .filter__btn-clear {
        display: none;
    }
    .paginations {
        gap: 0px;
    }
}
.page-promos .view-promos .view-content {
    display: none;
}

#search-api-page-search-form .form-submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  background-color: transparent;
  cursor: pointer;
  margin: 10px 0;
}
#search-api-page-search-form .form-submit {
  color: var(--white);
  background-color: var(--accent);
  -webkit-transition: background-color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}
@media (any-hover: hover) {
  #search-api-page-search-form .form-submit:hover {
    background-color: var(--dark-red);
  }
}
#search-api-page-search-form .form-submit:focus-visible {
  outline: none;
  background-color: var(--dark-red);
}


#search-api-page-search-form .form-text {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  padding-left: 48px;
  width: 100%;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  color: var(--black);
  background: var(--white);
  -webkit-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
}
@media (any-hover: hover) {
  #search-api-page-search-form .form-text:hover {
    border-color: var(--light-red);
  }
}
#search-api-page-search-form .form-text:focus-visible {
  outline: none;
  border-color: var(--light-red);
}
#search-api-page-search-form .form-text:focus-visible::-webkit-input-placeholder {
  color: transparent;
}
#search-api-page-search-form .form-text:focus-visible::-moz-placeholder {
  color: transparent;
}
#search-api-page-search-form .form-text:focus-visible:-ms-input-placeholder {
  color: transparent;
}
#search-api-page-search-form .form-text:focus-visible::-ms-input-placeholder {
  color: transparent;
}
#search-api-page-search-form .form-text:focus-visible::placeholder {
  color: transparent;
}
#search-api-page-search-form .form-text:focus-visible .search__btn-clear {
  opacity: 1;
  visibility: visible;
}
#search-api-page-search-form .form-text::-webkit-input-placeholder {
  color: var(--grey);
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
#search-api-page-search-form .form-text::-moz-placeholder {
  color: var(--grey);
  -moz-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
#search-api-page-search-form .form-text:-ms-input-placeholder {
  color: var(--grey);
  -ms-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
#search-api-page-search-form .form-text::-ms-input-placeholder {
  color: var(--grey);
  -ms-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
#search-api-page-search-form .form-text::placeholder {
  color: var(--grey);
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

#search-api-page-search-form #autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  margin: 2px 0 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  max-height: 321px;
  background: var(--white);
  overflow-y: auto;
}
@media (max-width: 1024px) {
  #search-api-page-search-form #autocomplete {
    left: 32px;
  }
}
@media (max-width: 768px) {
  #search-api-page-search-form #autocomplete {
    margin-top: 4px;
  }
}
#search-api-page-search-form #autocomplete ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#search-api-page-search-form #autocomplete li {
  border-radius: 4px;
  padding: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  color: var(--black);
  background-color: transparent;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
#search-api-page-search-form #autocomplete li a {
    font-weight: 400;
  font-size: 14px;
  /*line-height: 120%;*/
  color: var(--black);
}
@media (any-hover: hover) {
  #search-api-page-search-form #autocomplete li:hover {
    color: var(--accent);
    background-color: var(--bg);
  }
}
#search-api-page-search-form #autocomplete li:focus {
  outline: none;
  color: var(--accent);
  background-color: var(--bg);
}
#autocomplete li {
    white-space: unset;
}
.category-content__area #search-api-page-search-form .form-text {
    max-width: 50%;
}
@media (max-width: 768px) {
  .category-content__area #search-api-page-search-form .form-text {
    max-width: 100%;
}
}
.category-content__area #search-api-page-search-form .form-submit {
    display: inline;
}
.category-content__area #search-api-page-search-form {
    margin-bottom: 20px;
}
#header-search-box .search__autocomplete.autocomplete {
    display: none;
}
.header-middle__searchbar #search-api-page-search-form-search1 {
    display: none;
}
.header-middle__searchbar .search__icon {
    cursor: pointer;
}


#messages .messages {
  border: 1px solid var(--border-info);
  border-radius: 10px;
  padding: 20px;
  padding-top: 13px;
  width: 343px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--bg-info);
  -webkit-transition: opacity 0.3s;
  padding-left: 25px;
  width: 100%;
}
@media (max-width: 374px) {
  #messages .messages {
    width: 308px;
  }
}
#messages li {
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    color: var(--black);
    list-style: none;
}
#messages div.status {
    background-image: url(/sites/all/themes/avtopartner_new/img/icon-success.svg);
    border-color: #be7;
    display: block;
    padding-left: 40px;
}
#messages div.warning {
    background-image: url(/sites/all/themes/avtopartner_new/img/icon-info.svg);
    border-color: #be7;
    display: block;
    padding-left: 40px;
}
#messages div.error {
    background-image: url(/sites/all/themes/avtopartner_new/img/icon-error.svg);
    border-color: #be7;
    display: block;
    padding-left: 40px;
}
#messages div.status.messages ul,
#messages div.warning.messages ul,
#messages div.error.messages ul {
    margin: 0px;
}
#messages .element-invisible {
    display: none;
}
.profile .field-name-field-user-comp-name {
    display: none;
}
section.filter {
    position: relative;
}
@media (max-width: 768px) {
    section.filter {
        position: fixed;
    }
}

[data-view-target=list] .product-card__actions,
[data-view-target=extended-list] .product-card__actions {
    /*max-height: 250px;*/
    overflow: hidden;
    justify-content: center;
}

.product-card__actions .product-post__status.out-of-stock::before {
    background-color: var(--accent);
    display: none;
}
.product-card__actions .product-post__status.out-of-stock {
    padding-left: 0;
}
.product-card__actions .product-post__status.out-of-stock {
    margin: 0 auto;
}

/*.quantity__control input,
.quantity__control input:focus-visible, 
.quantity__control input.quantity__input[data-focus-visible-added] {
    border: none; 
    max-width: 40px;
    text-align: center;
}*/

input.quantity__input {
    max-width: 40px;
    text-align: center;
    border: none;
    outline: none;
    background: none;
    font: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 3ch; /* примерно под ширину 1-3 цифр */
    min-width: 20px;
}

/* Убираем фокус-стили для мыши */
input.quantity__input:focus:not(.focus-visible) {
    outline: none;
}

/* Оставляем фокус для клавиатуры */
input.quantity__input.focus-visible {
    outline: none;
/*    outline-offset: 1px;
    border-radius: 2px;*/
}