:root {
  --color-primary: #f20a0a;
  --color-primary-hover: #960000;

  --color-white: #ffffff;
  --color-black: #000000;

  --color-text-main: #454545;
  --color-text-muted: #707070;
  --color-text-muted-2: #838383;
  --color-text-muted-3: #8a8a8a;
  --color-text-muted-4: #979797;
  --color-text-muted-5: #999999;
  --color-text-disabled: #AEAEAE;
  --color-footer-text: #C1C2C3;

  --color-surface-lightest: #F5F5F5;
  --color-surface-light: #EFEFEF;
  --color-surface-light-2: #f3f3f3;
  --color-surface-soft: #EBEBEB;
  --color-surface-soft-2: #EAEAEA;
  --color-surface-soft-3: #E3E3E3;
  --color-surface-soft-4: #D9D9D9;
  --color-surface-border: #e9ecef;
  --color-surface-border-2: #e5e5e5;
  --color-surface-border-3: #dcdfe0;
  --color-surface-border-4: #D5D5D5;
  --color-border-light: #c1c1c1;
  --color-border-mid: #cdcdcd;
  --color-border-mid-2: #c4c4c4;
  --color-border-soft: #d8d8d8;
  --color-border-strong: #ededed;

  --shadow-button: rgba(66, 68, 90, 0.32);
  --shadow-soft: rgba(50, 50, 93, 0.1);
  --shadow-thin: rgba(0, 0, 0, 0.07);
  --overlay-dark: rgba(95, 95, 95, 0.52);
  --overlay-dark-alt: rgba(49, 49, 51, 0.59);
  --overlay-primary: rgba(191, 144, 80, 0.5);
  --shadow-soft-2: rgb(66 68 90 / 25%);
  --color-table-row-even: #eeeeee;
  --color-table-row-odd: #d7d7d7;
  --color-table-row-hover: #f4f4f4;
}

* {
  font-family: 'Montserrat', sans-serif;
}

a {
  color: var(--color-black);
  text-decoration: none;
}

h1, h2, h3, h4 {
  color: var(--color-black);
}

h2 span {
  font-style: italic;
}

a:hover {
  color: var(--color-black);
  text-decoration: underline;
}

a.default-button {
  text-decoration: none;
  text-align: center;
  padding: 10px 6px;
}

a.default-button:hover {
  color: var(--color-white);
}

.weight-600 {
  font-weight: 600;
}

.default-button {
  background-color: var(--color-black);
  width: 210px;
  height: 45px;
  border: 0;
  color: var(--color-white);
  box-shadow: 0 8px 32px -11px var(--shadow-button);
  transition: all 0.2s;
  opacity: 1;
}

.default-button:hover {
  opacity: 0.8;
}

.default-icon {
  width: 15px;
}

#opaque {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: var(--color-black);
  opacity: .6;
  z-index: 4;
}

.lang-change button {
  border: 0;
  background-color: var(--color-white);
}

.lang-change .dropdown-menu {
  min-width: 70px;
}

.lang-change .dropdown-menu a {
  text-decoration: none;
}

.dropdown button:focus {
  outline: none;
}

.login-box {
  width: 30%;
  height: 100%;
  padding: 60px 4%;
}

.forgot:hover, .register a:hover {
  color: var(--color-black);
}

.login-box .login-box__form--signup a, #register-back-to-login a {
  color: var(--color-black);
  font-weight: 600;
  text-decoration: none;
}

.login-box__form {
  margin-top: 30%;
}

.login-box__form h4 {
  color: var(--color-black);
}

.login-box__form h4 span {
  color: var(--color-primary);
}

.login-box__lang {
  float: right;
}

.login-page .company-box {
  width: 70%;
  height: 100vh;
  background: var(--color-black);
  background-size: cover;
  padding: 5% 7%;
  position: relative;
}

.login-box__logo-mobile {
  display: none;
}

@media screen and (max-width: 1550px) {
  .login-box__form {
    margin-top: 20%;
  }
}

@media screen and (max-width: 900px) {
  .login-box {
    width: 100%;
    padding: 0;
  }

  .login-box__form {
    padding: 0 50px;
    margin-top: 40px;
  }

  .login-box__form--submit {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .login-box__logo-mobile {
    background-color: var(--color-black);
    display: block;
    height: 75px;
    padding: 15px;
  }

  .login-box__logo-mobile img {
    width: 160px;
  }

  .login-box__lang {
    margin: 20px 10px;
  }

  .login-box__lang .lang-change button,
  .register-page .register-box__lang .lang-change button,
  .password-page .register-box__lang .lang-change button,
  .authorization-page .register-box__lang .lang-change button {
    background-color: var(--color-white);
    color: var(--color-black);
  }
}

.register-box {
  width: 70%;
  height: 100%;
  padding: 60px 7%;
}

.register-box__form {
  padding-right: 10%;
}

.register-box__form h4 {
  margin: 80px 0 60px;
}

.register-box__form select {
  width: 100%;
  border-radius: 0;
  border: 1px solid var(--color-text-muted-2);
  padding: 10px 20px;
}

.register-box__form .form-group, .myProfile .form-group {
  margin-bottom: 30px;
}

.register-box__form .col:first-child {
  margin-right: 40px;
}

.register-box__form .col:last-child {
  margin-left: 40px;
}

.register-box__form--submit {
  float: right;
}

.register-box__form--submit {
  margin-top: 70px;
  align-items: center;
  justify-content: center;
}

.register-page .register-box__lang {
  float: right;
}

.register-page .company-box {
  width: 30%;
  height: 100vh;
  background: var(--color-black);
  background-size: cover;
  padding: 4%;
}

.register-box__form--submit #register-back-to-login {
  margin-right: 40px;
}

#register-terms-group {
  display: flex;
}

#register-terms-group label {
  font-size: 0.75rem;
  padding-left: 0;
}

.register-box__form--logo-mobile {
  display: none;
}

@media screen and (max-width: 1550px) {

  .register-box {
    padding: 30px 7%;
  }

  .register-box__form h4 {
    margin: 40px 0 40px;
  }

  .register-box__form--submit {
    margin-top: 25px;
  }
}

@media screen and (max-width: 900px) {

  .company-box {
    display: none;
  }

  .register-box {
    width: 100%;
    padding: 0;
  }

  .register-box__form {
    padding-right: 0;
  }

  .register-box__form .row {
    flex-direction: column;
  }

  .register-box__form .col:first-child {
    margin-right: 0;
  }

  .register-box__form .col:last-child {
    margin-left: 0;
  }

  .register-box__form form {
    margin: 0 20px;
  }

  .register-box__form h4 {
    margin: 40px 20px;
  }

  .register-box__form--logo-mobile {
    background-color: var(--color-black);
    display: block;
    height: 75px;
    padding: 15px;
  }

  .register-box__form--logo-mobile img {
    width: 160px;
  }

  .register-box__form--submit {
    flex-wrap: wrap;
  }

  .register-box__form--submit #register-back-to-login {
    order: 2;
    margin: 20px 0 30px;
  }

  .register-box__lang {
    margin: 20px 10px;
  }

  .register-box__lang .lang-change button {
    background-color: var(--color-black);
    color: var(--color-white);
  }
}

.form-wrapper {
  max-width: 30%;
  min-width: 300px;
  padding: 50px 30px 50px 30px;
  margin: 50px auto;
  background-color: var(--color-white);
  border-radius: 5px;
  box-shadow: 0 15px 35px var(--shadow-soft), 0 5px 15px var(--shadow-thin);
}

.form-group {
  position: relative;
}

.password .form-group {
  margin: 0 0 15px 0;
}

.form-label {
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--color-text-muted-5);
  background-color: var(--color-white);
  z-index: 10;
  transition: transform 150ms ease-out, font-size 150ms ease-out;
}

.focused .form-label {
  transform: translateY(-125%);
  font-size: .75em;
  color: var(--color-black);
}

.focused .form-label .default-icon {
  width: 12px;
}

.form-input {
  position: relative;
  padding: 12px 0 5px 0;
  width: 100%;
  outline: 0;
  border: 0;
  box-shadow: 0 1px 0 0 var(--color-surface-border-2);
  transition: box-shadow 150ms ease-out;
}

.form-input:focus {
  box-shadow: 0 2px 0 0 var(--color-black);
}

.register-box__form .form-input.filled {
  box-shadow: 0 2px 0 0 var(--color-primary);
}

header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
}

.main-nav {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
  position: relative;
}

#main_nav {
  height: 100%;
}

.main-nav:before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 150px;
  background: var(--color-black);
}

.main-nav__left {
  width: 520px;
  min-width: 520px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--color-black);
  clip-path: polygon(0 0, 100% 0, calc(100% - 135px) 100%, 0 100%);
  z-index: 2;
}

.main-nav__left--logo {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  grid-template-areas: "logo company" "logo subtitle";
  column-gap: 16px;
  align-items: center;
  max-width: calc(100% - 155px);
  padding-left: 10px;
  margin-top: -5px;
  color: var(--color-white);
}

.main-nav__left--logo a {
  grid-area: logo;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  text-decoration: none;
}

.main-nav__left--logo img {
  display: block;
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.main-nav__left--logo-company {
  grid-area: company;
  align-self: end;
  color: var(--color-white);
  font-size: 24px;
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.main-nav__left--logo-subtitle {
  grid-area: subtitle;
  align-self: start;
  margin-top: 5px;
  color: var(--color-white);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.main-nav__right {
  height: 140px;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: -135px;
  background-color: var(--color-white);
  padding-left: 165px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media screen and (max-width: 1280px) {
  .main-nav__left {
    width: 500px;
    min-width: 500px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 115px) 100%, 0 100%);
  }

  .main-nav__left--logo {
    grid-template-columns: 104px minmax(0, 1fr);
    max-width: calc(100% - 132px);
    column-gap: 13px;
  }

  .main-nav__left--logo a,
  .main-nav__left--logo img {
    width: 104px;
    height: 104px;
  }

  .main-nav__left--logo-company {
    font-size: 21px;
  }

  .main-nav__left--logo-subtitle {
    font-size: 11px;
  }

  .main-nav__right {
    margin-left: -115px;
    padding-left: 140px;
  }
}

.main-nav__right--menu {
  padding: 10px 0;
  display: flex;
  align-items: flex-end;
}

.main-nav__right--menu .menu--item {
  margin-right: 30px;
}

.main-nav__right--menu .menu--item a {
  color: var(--color-black);
  text-decoration: none;
}

.main-nav__right--menu .menu--item:hover .menu-link,
.main-nav__right--menu .menu--item:hover button {
  color: var(--color-black);
}

.main-nav__right--menu .menu--item:last-child {
  margin-right: 5px;
}

.main-nav__right--menu .my-account button {
  border: 0;
  background-color: var(--color-white);
}

.main-nav__right--search {
  width: 100%;
  position: relative;
}

#search input,
#search-mobile input {
  width: 90%;
  height: 40px;
  background-color: var(--color-surface-soft);
  border: 0;
  padding: 10px 10px 10px 30px;
  position: relative;
  right: -5px;
}

#search input:focus,
#search-mobile input:focus {
  outline: none;
}

#search button,
#search-mobile button {
  border: 0;
  background-color: var(--color-black);
  width: 9%;
  height: 40px;
  color: var(--color-white);
  opacity: 1;
}

#search button:hover,
#search-mobile button:hover {
  opacity: 0.8;
}

.main-nav__right--search .search-results {
  position: absolute;
  width: 99%;
  max-height: 400px;
  background-color: var(--color-white);
  z-index: 99;
  overflow-y: scroll;
  left: 5px;
  box-shadow: 0 6px 19px -4px var(--overlay-dark);
  display: none;
}

.main-nav__right--search .search-results ul,
.search-results-mobile ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.search-results__item a,
.search-results-mobile__item a {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-text-muted);
  padding: 15px 20px;
  text-decoration: none;
  color: var(--color-black);
}

.search-results ul .search-results__item:last-child,
.search-results-mobile ul .search-results-mobile__item:last-child {
  border-bottom: 0;
}

.search-results__item a:hover {
  background-color: var(--color-surface-soft);
}

.search-results__item--photo,
.search-results-mobile__item--photo {
  margin-right: 40px;
}

.search-results__item--photo img,
.search-results-mobile__item--photo img {
  width: 120px;
}

.search-results__item--info,
.search-results-mobile__item--info {
  font-size: 0.9rem;
}

.search-results__item--info .search-product-name {
  margin-bottom: 15px;
  font-size: 1rem;
}

.search-results__item--info strong {
  font-weight: 500;
}

.search-results__full {
  margin: 20px;
}

.search-results__full .default-button {
  width: 100%;
}

.products-nav {
  background-color: var(--color-primary);
  box-shadow: 0 20px 33px -20px var(--overlay-dark-alt);
  padding: 0;
  height: 55px;
}

.nav-root {
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
}

.nav-root:hover {
  color: var(--color-white);
  text-decoration: none;
}

.products-nav .navbar-nav {
  justify-content: space-between;
  width: 100%;
  height: 55px;
}

.products-nav .navbar-nav li {
  width: 100%;
}

@media all and (min-width: 992px) {
  .dropdown-menu li {
    position: relative;
  }

  .nav-item .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
  }

  .nav-item .submenu-left {
    right: 100%;
    left: auto;
  }

  .dropdown-menu > li:hover > .submenu {
    display: block;
  }

  .main-dropdown:hover {
    background-color: var(--color-primary-hover);
  }

  .products-nav .dropdown-menu {
    width: 100%;
    border-radius: 0;
    margin-top: 0;
    border: 0;
  }

  .products-nav .dropdown-item {
    padding: 10px 20px;
    white-space: pre-wrap;
    text-decoration: none;
  }

  .products-nav .dropdown-item:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
  }

  .main-dropdown:hover .dropdown-child {
    display: block;
  }

  #full-header {
    display: block;
    background-color: var(--color-white);
  }

  #mobile-header {
    display: none;
  }
}

@media screen and (max-width: 900px) {

  body.menu-open {
    overflow: hidden;
  }

  #full-header {
    display: none;
  }

  #mobile-header {
    width: 100%;
    background-color: var(--color-black);
    display: block;
    padding: 10px;
    position: relative;
    z-index: 999;
  }

  header {
    position: static;
  }

  .mobile-header__row:first-child {
    margin-bottom: 15px;
  }

  .mobile-header__row {
    display: flex;
    align-items: center;
  }

  .mobile-header__row--logo img {
    width: 80px;
  }

  .mobile-header__row--user {
    display: flex;
    margin-left: auto;
    align-items: center;
    justify-content: center;
  }

  .mobile-header__row--user .menu-item {
    text-align: center;
    padding: 0 5px;
    font-size: 0.8rem;
  }

  .mobile-header__row--user .menu-item i {
    font-size: 1.2rem;
  }

  .mobile-header__row--user .menu-item a {
    color: var(--color-white);
    text-decoration: none;
  }

  .mobile-header__row--hamburger {
    margin: 0 10px;
  }

  .mobile-header__row--search {
    width: 100%;
  }

  #search-mobile input {
    width: 82%;
  }

  #search-mobile button {
    width: 15%;
    background-color: var(--color-primary);
  }

  .search-results-mobile {
    position: absolute;
    top: 110px;
    background-color: var(--color-white);
    z-index: 4;
    left: 0;
    display: none;
    overflow-y: scroll;
    max-height: 90vh;
  }

  #mobileMenuToggle {
    display: block;
    position: relative;
    padding: 0 30px 0 10px;
    z-index: 5;

    -webkit-user-select: none;
    user-select: none;
  }

  #mobileMenuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
  }

  #mobileMenuToggle .hamburger-line {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: var(--color-border-mid);
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease;
  }

  #mobileMenuToggle .hamburger-line:first-child {
    transform-origin: 0 0;
  }

  #mobileMenuToggle .hamburger-line:nth-last-child(2) {
    transform-origin: 0 100%;
  }

  #mobileMenuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: var(--color-black);
    top: 5px;
  }

  #mobileMenuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  #mobileMenuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
  }

  #mobileMenuCategory {
    position: absolute;
    width: 100vw;
    margin-top: -42px;
    left: -10px;
    padding: 10px 30px 22px;
    background: var(--color-border-strong);
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    overflow-y: scroll;
    max-height: 90vh;
    transform-origin: 0 0;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  }

  #mobileMenuCategory h3 {
    padding: 5px 0 10px 25px;
    font-size: 1.5rem;
  }

  #mobileMenuCategory li {
    padding: 5px 0;
    font-size: 1.1rem;
  }

  #mobileMenuCategory .nav__list--root:not(:last-child) {
    margin-bottom: 10px;
  }

  #mobileMenuToggle input:checked ~ ul {
    transform: none;
  }

  #mobileMenuCategory label {
    display: block;
  }

  [hidden] {
    display: none;
    visibility: hidden;
  }

  #mobileMenuCategory .nav a,
  #mobileMenuCategory .nav label {
    display: block;
    padding: 0.85rem;
    color: var(--color-white);
    background-color: var(--color-black);
    box-shadow: inset 0 -1px rgba(255, 255, 255, .08);
    transition: all 0.25s ease-in;
  }

  #mobileMenuCategory .nav label {
    cursor: pointer;
  }

  #mobileMenuCategory .group-list a, #mobileMenuCategory .group-list label,
  #mobileMenuCategory .sub-group-list a, #mobileMenuCategory .sub-group-list label,
  #mobileMenuCategory .sub-sub-group-list a, #mobileMenuCategory .sub-sub-group-list label {
    padding-left: 5px;
  }

  .group-list,
  .sub-group-list,
  .sub-sub-group-list {
    height: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    list-style-type: none;
    padding-left: 1rem;
  }

  .nav__list input[type="checkbox"]:checked + label + ul {
    max-height: 1000px;
  }

  #mobileMenuCategory label > span {
    float: right;
    transition: transform 0.25s ease-in-out;
  }

  .nav__list input[type="checkbox"]:checked + label > span {
    transform: rotate(90deg);
  }

  #mobileMenuCategory .nav__list--langs {
    margin-top: 40px;
    position: relative;
  }

  #mobileMenuCategory .nav__list--langs:before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 100vw;
    height: 2px;
    transform: translateX(-50%);
    z-index: 1;
    background-color: var(--color-border-mid-2);
  }

  .mobile-langs-separator {
    padding: 0 7px;
    font-size: 1.1rem;
  }

  .nav__list--langs a {
    text-decoration: none;
    color: var(--color-black);
  }

  .nav__list--langs .mobile-langs--current {
    font-weight: 700;
  }
}

footer {
  width: 100%;
  background-color: var(--color-black);
  color: var(--color-footer-text);
  font-size: 0.85rem;
}

.footer-infos {
  display: flex;
  padding: 35px 0;
  justify-content: center;
}

.footer-infos__item {
  margin: 0 40px;
}

.footer-infos__item a, a:hover, a:focus {
  color: var(--color-footer-text);
  text-decoration: none;
}

.footer-infos__item a:hover {
  text-decoration: underline;
}

.footer-map iframe,
.footer-map .gmap_canvas {
  width: 100%;
}

.footer-design {
  text-align: center;
  padding: 20px 0;
}

@media screen and (max-width: 900px) {
  .footer-infos {
    flex-flow: column;
  }
}

.product-page {
  min-height: 700px;
}

.breadcrumbs {
  margin-top: 40px;
}

.breadcrumbs ul {
  list-style-type: none;
  padding-left: 0;
}

.breadcrumbs li {
  height: 30px;
  line-height: 30px;
  display: table-cell;
  list-style-type: none;
  vertical-align: middle;
}

.breadcrumbs .nav-separator {
  color: var(--color-black);
  padding: 0 5px;
}

.breadcrumbs li a {
  color: var(--color-black);
  text-decoration: none;
}

.breadcrumbs li a:hover {
  color: var(--color-black);
  text-decoration: underline;
}

.breadcrumbs li:last-child a, .breadcrumbs li:last-child a:hover {
  color: var(--color-primary);
}

.product-inner {
  flex-wrap: nowrap;
}

.product-photos {
  width: 40%;
}

.product-photos img {
  width: 100%;
}

.product-photos__main {
  position: relative;
  margin: 10px 0 20px;
}

.product-photos__main--zoom {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--color-white);
  font-size: 1.5rem;
}

.product-info {
  width: 60%;
  padding-left: 50px;
}

.product-info__basket {
  display: flex;
  justify-content: space-between;
  margin: 40px 0 40px;
}

.product-info__basket--select {
  min-width: 220px;
  border-radius: 0;
  border: 1px solid var(--color-text-muted-2);
  padding: 10px 20px;
  cursor: pointer;
}

.basket-table-quantity,
.product-info__basket--quantity {
  display: flex;
  margin: 0 25px;
}

.basket-table-quantity input,
.product-info__basket--quantity input {
  width: 100px;
  text-align: center;
  font-weight: 500;
  border-radius: 0;
  border: 1px solid var(--color-text-muted-2);
}

.basket-table-quantity button,
.product-info__basket--quantity button {
  border-radius: 0;
  border: 1px solid var(--color-text-muted-2);
  background-color: var(--color-white);
  width: 45px;
  transition: all 0.15s;
}

.basket-table-quantity button:hover,
.product-info__basket--quantity button:hover {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: var(--color-white);
}

.product-table {
  margin: 10px 0 60px;
  overflow-x: auto;
}

.product-table table {
  width: 100%;
  table-layout: fixed;
  overflow-wrap: break-word;
}

.product-table .table > thead, .product-table .table > tbody {
  vertical-align: middle;
}

.product-table table th {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 5px;
  text-align: center;
  border-right: 6px solid var(--color-white);
  font-weight: 500;
}

.product-table table th.long-colspan {
  padding: 10px 0;
}

.product-table table th .table-sub-header {
  display: flex;
  justify-content: space-around;
}

.product-table table th, .product-table table td {
  border-right: 2px solid var(--color-white);
}

.product-table table thead .dimension-unit {
  font-size: 9px;
}

.product-table table thead .dimension-unit .symbol {
  font-size: 12px;
}

.product-table table tbody tr.active {
  background: var(--overlay-primary);
}

.product-table table tr:nth-child(2n) {
  background-color: var(--color-surface-soft-2);
}

.product-table table tr:nth-child(2n-1) {
  background-color: var(--color-surface-soft-4);
}

.product-table table td {
  text-align: center;
  border-right: 6px solid var(--color-white);
  padding: 0 5px;
  height: 50px;
  overflow: hidden;
}

.product-table table td input {
  width: 60px;
  text-align: right;
}

.product-table table .no-spacing {
  border-right: 0;
}

.product-table table .table-add-basket {
  font-size: 1.2rem;
  padding-left: 2px;
  cursor: pointer;
}

.product-table table .table-add-basket:hover {
  color: var(--color-primary);
}

@media screen and (max-width: 1390px) {
  .product-info__basket {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1250px) {
  .product-table table {
    table-layout: unset;
    min-width: 1400px;
  }

  .long-colspan {
    min-width: 250px;
  }
}

@media screen and (max-width: 900px) {
  .product-inner {
    flex-wrap: wrap;
    flex-flow: column;
    margin-bottom: 50px;
  }

  .footer-infos__item {
    margin: 0 30px;
  }

  .footer-infos__item:not(:last-child) {
    margin-bottom: 15px;
  }

  .product-photos {
    width: 100%;
    margin-bottom: 30px;
  }

  .product-info {
    width: 100%;
    padding: 0 20px;
  }

  .search-results__item--photo, .search-results-mobile__item--photo {
    margin-right: 20px;
  }

  .search-results-mobile__item .dimensions {
    font-style: italic;
    font-size: 0.8rem;
  }

  .breadcrumbs {
    margin-top: 20px;
    padding: 0 20px;
  }

  .breadcrumbs li {
    height: auto;
    font-size: 0.8rem;
    display: inline-block;
  }

  .product-table table {
    table-layout: unset;
  }

  .product-table table td {
    min-width: 150px;
  }

  .product-info__basket {
    flex-wrap: wrap;
    margin: 35px 0;
    align-items: center;
    justify-content: center;
  }

  .product-info__basket--quantity {
    margin: 0 0 0 25px;
  }

  .product-info__basket--select {
    min-width: 100px;
  }

  .product-info__basket--add {
    margin: 30px auto 0;
  }
}

.category-list {
  margin-bottom: 45px;
  align-items: stretch;
}

.category-list__item {
  margin-bottom: 45px;
  display: flex;
}

.category-list__item a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background: var(--color-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-list__item a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -24px var(--color-black);
}

.category-list__item img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background-color: var(--color-white);
  padding: 8px;
  transition: all 0.2s;
}

.category-list__item--desc {
  height: 170px;
  padding: 18px 16px 18px;
  background-color: var(--color-surface-soft-3);
  color: var(--color-black);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.category-list__item--desc h4 {
  color: var(--color-black);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 10px;
  min-height: 44px;
  transition: all 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-list__item--desc p {
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-list__item a:hover .category-list__item--desc {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.category-list__item a:hover .category-list__item--desc h4 {
  color: var(--color-white);
}

.category-list__pagination .pagination {
  float: right;
}

.pagination .page-link {
  color: var(--color-black);
}

@media screen and (max-width: 900px) {
  .category-list__item {
    margin-bottom: 25px;
  }

  .category-list__item img {
    height: 135px;
    padding: 6px;
  }

  .category-list__item--desc {
    height: 165px;
    padding: 14px 12px 14px;
  }

  .category-list__item--desc h4 {
    font-size: 0.95rem;
    line-height: 1.25;
    min-height: 38px;
    margin-bottom: 8px;
  }

  .category-list__item--desc p {
    font-size: 0.74rem;
    line-height: 1.35;
    -webkit-line-clamp: 4;
  }

  .category-list__pagination {
    display: flex;
    justify-content: center;
  }

  .category-list__pagination .pagination {
    float: left;
  }
}

.user-panel {
  flex-wrap: nowrap;
  margin: 50px 0;
}

.user-panel__nav {
  width: 22%;
  min-height: 500px;
  border-right: 1px solid var(--color-text-disabled);
  padding: 10px 0 0;
}

.user-panel__nav h4 {
  padding-left: 16px;
  margin-bottom: 30px;
  color: var(--color-black);
}

.user-panel__nav .nav-link {
  color: var(--color-text-main);
  font-size: 1.2rem;
  transition: all 0.1s;
  cursor: pointer;
  margin-bottom: 10px;
}

.user-panel__nav .nav-link:hover {
  color: var(--color-white);
  background-color: var(--color-primary);
  text-decoration: none;
}

.user-panel__nav .nav-link.active {
  color: var(--color-black);
  font-weight: 500;
  cursor: default;
  text-decoration: none;
}

.user-panel__nav .nav-link.active:hover {
  color: var(--color-black);
  background-color: var(--color-white);
  text-decoration: none;
}

.user-panel__nav .nav-link span {
  width: 60px;
  display: inline-block;
}

.user-panel__content {
  width: 78%;
  padding: 10px 0 0 3%;
}

.user-panel__content h3 {
  color: var(--color-black);
}

.user-panel__content .orders-header {
  display: flex;
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid var(--color-text-disabled);
  font-size: 1.1rem;
  font-weight: 600;
}

.orders-header__date, .orders-list__item--date {
  width: 25%;
}

.orders-header__number, .orders-list__item--number {
  width: 25%;
}

.orders-header__articles, .orders-list__item--articles {
  width: 15%;
}

.orders-header__status, .orders-list__item--status {
  width: 15%;
}

.orders-header__actions, .orders-list__item--actions {
  width: 20%;
}

.orders-list__item--actions i {
  font-size: 1.5rem;
}

.user-panel__content .orders-list__item {
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--color-text-disabled);
}

.user-panel__content .orders-list__item:last-child {
  border-bottom: 0;
}

.user-panel__content .orders-list__item:hover {
  background-color: var(--color-surface-border);
}

.user-panel__content .orders-list__item div {
  text-decoration: none;
  color: var(--color-black);
  padding: 20px 10px;
  transition: all 0.1s ease-in-out;

}

.orders-list__item--subtitle {
  display: none;
}

.orders-list__pagination .pagination {
  float: right;
  margin-top: 20px;
}

@media screen and (max-width: 1300px) {
  .user-panel__content {
    width: 75%;
    padding: 10px 0 0 30px;
  }
}

@media screen and (max-width: 900px) {
  .user-panel {
    flex-wrap: wrap;
    flex-flow: column wrap;
    margin: 35px 0;
  }

  .user-panel__nav {
    width: 100%;
    min-height: 100px;
    border-right: 0;
    padding: 0;
    border-bottom: 1px solid var(--color-text-disabled);
  }

  .user-panel__nav h4 {
    margin-bottom: 20px;
  }

  .user-panel__content {
    width: 100%;
    padding: 0 0;
  }

  .user-panel__content {
    margin-top: 20px;
  }

  .orders-list {
    margin-top: 20px;
  }

  .user-panel__content .orders-header {
    display: none;
  }

  .user-panel__content .orders-list__item:last-child {
    border-bottom: 1px solid var(--color-text-disabled);
  }

  .user-panel__content .orders-list__item:hover {
    background-color: var(--color-surface-border);
  }

  .user-panel__content .orders-list__item {
    border: 1px solid var(--color-text-disabled);
    border-radius: 5px;
    margin-bottom: 20px;
  }

  .user-panel__content .orders-list__item a {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  .orders-list__item--subtitle {
    display: inline;
    font-weight: 500;
  }

  .orders-list__item--number,
  .orders-list__item--date,
  .orders-list__item--status,
  .orders-list__item--articles {
    width: 100%;
  }

  .orders-list__pagination .pagination {
    display: flex;
    justify-content: center;
    float: unset;
  }
}

#back-to-orders {
  width: 300px;
  margin: 0 0 30px;
}

#back-to-orders:hover {
  background-color: var(--color-surface-border-3);
}

.order-details {
  margin: 30px 0;
}

.order-details .card {
  padding: 0;
}

.order-details .card-body {
  padding: 30px;
}

.order-details .card-header {
  font-weight: 500;
  font-size: 1.4rem;
}

.order-details__info,
.order-details__comment,
.order-details__products {
  margin-bottom: 20px;
}

.order-details__info span {
  font-weight: 500;
}

.order-details__products {
  margin-bottom: 0;
  padding-bottom: 0;
}

.order-details__products--item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-black);
  padding: 15px 15px;
  border-bottom: 1px solid var(--color-text-disabled);
  transition: all 0.15s ease-in-out;
}

.order-details__products--item:last-child a {
  border-bottom: none;
}

.order-details__products--item a:hover {
  background-color: var(--color-surface-light-2);
}

.order-details__products--headers {
  font-weight: 600;
  margin: 20px 0 0;
  border-bottom: 1px solid var(--color-text-disabled);
  padding: 0 15px 10px;
  display: flex;
}

.order-details__products--headers .header-photo,
.order-details__products--item .item-photo {
  width: 20%;
}

.order-details__products--headers .header-info,
.order-details__products--item .item-info {
  width: 60%;
}

.order-details__products--headers .header-quantity,
.order-details__products--item .item-quantity {
  width: 20%;
}

.order-details__products .item-photo img {
  width: 160px;
}

@media screen and (max-width: 900px) {
  .order-details__products--headers {
    display: none;
  }

  .order-details__products {
    padding: 0;
  }

  .order-details__products--item a {
    flex-direction: column;
  }

  .order-details__products--item .item-photo,
  .order-details__products--item .item-info,
  .order-details__products--item .item-quantity {
    width: 100%;
    text-align: center;
  }

  .order-details__products--item .item-info {
    margin: 10px 0;
  }
}

.basket-page .basket {
  flex-wrap: nowrap;
  margin-top: 30px;
}

.basket a.cart-action {
  margin: 0 10px 0 0;
}

.basket__details {
  width: 75%;
  padding-right: 50px;
}

.basket__details--list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.basket__details--list-header h4 {
  color: var(--color-black);
}

.basket__details--list-header #delete-selected {
  cursor: pointer;
}

.basket__details table {
  border: 1px solid var(--color-border-light);
  border-radius: 3px;
}

.basket__details table thead {
  background-color: var(--color-surface-light);
}

.basket__details table thead th {
  font-weight: 500;
  padding: 12px 8px;
}

.basket__details table tr {
  padding: 0 20px;
}

.basket__details table td {
  vertical-align: middle;
  padding: 15px 8px;
}

.basket__details table tr {
  border-bottom: 1px solid var(--color-border-light);
}

.basket__details table .thead-tr,
.basket__details table tr:last-child {
  border-bottom: 0;
}

.basket__details table tr td:first-child,
.basket__details table tr th:first-child {
  padding-left: 20px;
}

.basket__details table tr td:last-child,
.basket__details table tr th:last-child {
  padding-right: 20px;
}

.basket__details table td img {
  width: 128px;
}

.basket__details table td a {
  text-decoration: none;
  color: var(--color-black);
  font-size: 1.1rem;
}

.basket__details table td a:hover {
  text-decoration: underline;
}

.basket__details table .product-details {
  font-size: 0.85rem;
}

.basket__details table .product-details div {
  margin-top: 5px;
}

.basket-table-quantity {
  margin: 0;
  justify-content: center;
}

.basket-table-quantity button {
  width: 30px;
}

.basket-item-delete {
  border: 0;
  background-color: transparent;
  transition: all 0.2s;
  padding: 10px;
}

.basket-item-delete:hover {
  color: red;
}

.basket__details--comment {
  margin: 35px 0 40px;
}

.basket__details--comment textarea {
  border-color: var(--color-border-light);
  padding: 10px;
}

.basket__checkout {
  width: 25%;
  margin-top: 61px;
  position: relative;
  margin-bottom: 48px;
}

.basket__checkout .checkout-stick {
  border: 1px solid var(--color-surface-border-4);
  border-radius: 5px;
  line-height: 2rem;
  position: sticky;
  top: 210px;
  padding: 20px;
}

.basket__checkout--buttons button {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
  box-shadow: unset;
}

.basket__checkout--buttons #basket-back {
  background-color: var(--color-surface-lightest);
  color: var(--color-black);
}

.basket__checkout--buttons #basket-back:hover {
  background-color: var(--color-border-soft);
}

.basket__checkout .form-group {
  padding: 0 15px;
}

.basket__checkout .form-group label {
  margin-left: 25px;
  font-size: 0.8rem;
  line-height: 20px;
  margin-top: -28px;
}

.basket-success {
  border: var(--color-text-muted-4) 1px solid;
  border-radius: 3px;
  padding: 55px;
  width: 60%;
  margin: 40px auto 50px;
  box-shadow: 0 2px 12px -2px var(--shadow-soft-2);
}

.basket-success__details {
  display: flex;
}

.basket-success__details--img img {
  margin-left: 50px;
  width: 160px;
}

.basket-success__details--text {
  padding-left: 90px;
}

.basket-success__forward {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-text-muted-3);
}

.basket-success__service {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  flex-flow: column wrap;
  padding-top: 20px;
  font-size: 0.85rem;
}

.basket-success__service a:hover, .basket-success__service a:focus {
  color: var(--color-black);
  text-decoration: underline;
}

@media screen and (max-width: 1250px) {
  .basket-success {
    width: 90%;
  }
}

@media screen and (max-width: 900px) {

  .basket-page .basket {
    flex-wrap: wrap;
  }

  .basket__details {
    width: 100%;
    padding-right: 0;
  }

  .basket__details--list-header {
    margin-bottom: 0;
  }

  .basket-table {
    margin: 0;
  }

  .basket-table table {
    border: 0;
  }

  .basket__checkout {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .basket__checkout .checkout-stick {
    border: 0;
    border-radius: 5px;
    line-height: 2rem;
    position: static;
    top: 210px;
    padding: 20px;
  }

  .basket__details table,
  .basket__details thead,
  .basket__details tbody,
  .basket__details th,
  .basket__details td,
  .basket__details tr {
    display: inline-block;
  }

  .basket__details {
    padding: 0 12px;
  }

  .basket__details thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .basket__details table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 0;
    border-bottom: 0;
    border-top: 1px solid var(--color-border-light);
  }

  .basket__details table tr:last-child {
    border-bottom: 1px solid var(--color-border-light);
  }

  .basket__details table td {
    border: none;
    position: relative;
    padding: 0 0 0 50%;
  }

  .basket__details .product-photo {
    width: 30%;
    order: 1;
  }

  .basket__details table .product-photo img {
    width: 100%;
  }

  .basket__details .product-details {
    width: 60%;
    order: 2;
    padding-left: 20px;
  }

  .basket__details .product-quantity {
    width: 100%;
    order: 4;
    margin-top: 20px;
  }

  .basket__details .product-delete {
    width: 10%;
    order: 3;
  }

  .basket-table-quantity button {
    width: 100%;
  }

  .basket-table-quantity input {
    width: 80%;
  }

  .basket__details--comment {
    margin: 25px 0 5px;
  }

  .basket__checkout--buttons button:first-child {
    margin-bottom: 20px;
  }

  .basket__checkout--buttons #basket-back {
    border: 1px solid var(--color-border-light);
  }

  .basket-success {
    border: 0;
    padding: 0 20px;
    width: 100%;
    margin: 40px 0;
    box-shadow: unset;
  }

  .basket-success__details--img {
    display: none;
  }

  .basket-success__details--text {
    padding-left: 0;
  }

  .order-details .card-body {
    padding: 15px;
  }
}

/* Product page: gallery and ready/custom wires */
.product-photos__main {
  background: var(--color-white);
  border: 1px solid var(--color-surface-border-2);
  padding: 20px;
}

.product-photos__main img {
  display: block;
  object-fit: contain;
}

.product-photos-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-photos-thumb {
  display: block;
  border: 1px solid var(--color-surface-border-2);
  background: var(--color-white);
  padding: 8px;
  transition: all 0.2s;
}

.product-photos-thumb:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px -16px var(--color-black);
}

.product-photos-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.product-photos__note {
  margin-top: 15px;
  padding: 15px;
  background: var(--color-surface-lightest);
  border-left: 4px solid var(--color-primary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-photos-gallery .product-photos__main img {
  max-height: 360px;
}

.custom-wire-box {
  margin-top: 25px;
  padding: 22px;
  background: var(--color-surface-lightest);
  border: 1px solid var(--color-surface-border-2);
}

.custom-wire-box h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.custom-wire-box ol {
  padding-left: 20px;
  margin-bottom: 15px;
}

.custom-wire-box li {
  margin-bottom: 8px;
}

.custom-wire-box__hint {
  padding: 12px 15px;
  background: var(--color-white);
  border-left: 4px solid var(--color-primary);
  font-size: 0.9rem;
}

.product-table--custom-wire table {
  table-layout: auto;
  min-width: 0;
}

.product-table--custom-wire table td {
  height: auto;
  padding: 18px 12px;
  line-height: 1.45;
  overflow: visible;
}

.product-table--custom-wire table td strong {
  font-weight: 600;
}

@media screen and (max-width: 1250px) {
  .product-table--custom-wire table {
    min-width: 900px;
  }
}

@media screen and (max-width: 900px) {
  .product-photos-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-info__basket-inner {
    width: 100%;
    justify-content: center;
  }

  .custom-wire-box {
    padding: 18px;
  }
}

/* Product table readability - optimized dynamic columns */
.product-table {
  margin: 28px 0 70px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-table table {
  width: 100%;
  min-width: 980px;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.86rem;
  overflow-wrap: normal;
  word-break: normal;
}

.product-table table th,
.product-table table td {
  vertical-align: middle;
  text-align: center;
  line-height: 1.35;
  border-right: 4px solid var(--color-white);
}

.product-table table th {
  padding: 9px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
}

.product-table table td {
  height: auto;
  min-height: 50px;
  padding: 10px 8px;
  overflow: visible;
}

.product-table table th:first-child,
.product-table table td:first-child {
  min-width: 125px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.product-table table th:nth-child(2),
.product-table table td:nth-child(2) {
  width: 105px;
  min-width: 105px;
  white-space: nowrap;
}

.product-table table td input {
  width: 48px;
  height: 26px;
  padding: 2px 4px;
  text-align: center;
  font-size: 0.82rem;
}

.product-table table .table-add-basket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  font-size: 1rem;
  vertical-align: middle;
}

.product-table table td:nth-child(3),
.product-table table td:nth-child(4) {
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-table table tr:nth-child(2n) {
  background-color: var(--color-table-row-even);
}

.product-table table tr:nth-child(2n-1) {
  background-color: var(--color-table-row-odd);
}

.product-table table tbody tr {
  transition: background-color 0.15s ease;
}

.product-table table tbody tr:hover {
  background-color: var(--color-table-row-hover);
}

.product-table--custom-wire table th:first-child,
.product-table--custom-wire table td:first-child {
  min-width: 145px;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}

.product-table--custom-wire table td {
  font-size: 0.76rem;
}

.product-table:not(.product-table--custom-wire) table th:first-child,
.product-table:not(.product-table--custom-wire) table td:first-child {
  min-width: 95px;
}

@media screen and (max-width: 900px) {
  .product-table {
    margin: 22px 0 50px;
  }

  .product-table table {
    font-size: 0.82rem;
  }

  .product-table table th {
    font-size: 0.68rem;
    padding: 8px 6px;
  }

  .product-table table td {
    padding: 9px 6px;
  }
}

/* Cart product dimensions readability */
.basket-product-dimensions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 9px;
  line-height: 1.2;
}

.basket-product-dimension {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  max-width: 100%;
  padding: 3px 7px;
  background: var(--color-surface-lightest);
  border: 1px solid var(--color-surface-border-3);
  border-radius: 3px;
  font-size: 0.78rem;
}

.basket-product-dimension__name {
  font-weight: 700;
  color: var(--color-black);
  white-space: nowrap;
}

.basket-product-dimension__name::after {
  content: ":";
}

.basket-product-dimension__value {
  color: var(--color-text-main);
  font-variant-numeric: tabular-nums;
}

@media screen and (max-width: 900px) {
  .basket-product-dimensions {
    gap: 5px;
    margin-top: 8px;
  }

  .basket-product-dimension {
    font-size: 0.72rem;
    padding: 3px 6px;
  }
}

/* Product description links */
.product-description a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.product-description a:hover {
  color: var(--color-primary-hover);
  background-color: rgba(192, 0, 0, 0.08);
  text-decoration-thickness: 2px;
}

.product-description a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Main products navigation: show dropdown arrow only for items with submenu */
.products-nav .main-dropdown > .dropdown-toggle::after,
.products-nav .main-dropdown > .nav-root.dropdown-toggle::after {
  display: none;
}

.products-nav .main-dropdown:has(> .dropdown-menu) > .dropdown-toggle::after,
.products-nav .main-dropdown:has(> .dropdown-child) > .dropdown-toggle::after,
.products-nav .main-dropdown:has(> ul) > .dropdown-toggle::after,
.products-nav .main-dropdown:has(> .dropdown-menu) > .nav-root.dropdown-toggle::after,
.products-nav .main-dropdown:has(> .dropdown-child) > .nav-root.dropdown-toggle::after,
.products-nav .main-dropdown:has(> ul) > .nav-root.dropdown-toggle::after {
  display: inline-block;
}

/* Main products navigation: compact menu aligned to the left */
@media all and (min-width: 992px) {
  .products-nav .container,
  .products-nav .row,
  .products-nav #main_nav {
    height: 55px;
  }

  .products-nav .row {
    justify-content: flex-start;
  }

  .products-nav .navbar-nav {
    width: auto;
    margin-left: 0;
    margin-right: auto;
    justify-content: flex-start;
    align-items: stretch;
  }

  .products-nav .navbar-nav > li {
    width: auto;
    flex: 0 0 auto;
  }

  .products-nav.navbar-expand-lg .navbar-nav .nav-link.nav-root {
    padding-left: 16px;
    padding-right: 16px;
    white-space: nowrap;
  }

  .products-nav .dropdown-menu {
    min-width: 100%;
    width: max-content;
  }
}

@media screen and (max-width: 900px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .login-page.d-flex {
    flex-direction: column;
    min-height: 100vh;
    background: var(--color-white);
  }

  .login-box {
    width: 100%;
    height: auto;
    min-height: auto;
    order: 1;
    background: var(--color-white);
  }

  .login-box__logo-mobile,
  .register-page .register-box__form--logo-mobile,
  .password-page .register-box__form--logo-mobile,
  .authorization-page .register-box__form--logo-mobile {
    height: auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    padding: 14px 18px;
  }

  .login-box__logo-mobile img,
  .register-page .register-box__form--logo-mobile img,
  .password-page .register-box__form--logo-mobile img,
  .authorization-page .register-box__form--logo-mobile img {
    display: block;
    width: 160px;
    height: auto;
  }

  .login-box__lang,
  .register-page .register-box__lang,
  .password-page .register-box__lang,
  .authorization-page .register-box__lang {
    position: absolute;
    top: 205px;
    right: 14px;
    z-index: 5;
    margin: 0;
    float: none;
  }

  .login-box__form {
    width: 100%;
    margin: 0;
    padding: 34px 22px 38px;
  }

  .login-box__form h4 {
    width: 100%;
    margin: 0 0 8px;
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.18;
  }

  .login-box__form form {
    width: 100%;
  }

  .login-box__form .form-group.mt-5 {
    margin-top: 1.2rem !important;
  }

  .login-box__form .form-group.mt-4 {
    margin-top: 0.9rem !important;
  }

  .login-box__form .row.ms-0.me-0,
  .login-box__form .row.ms-0.me-0 > [class*="col-"] {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .login-box__form .row.ms-0.me-0 > [class*="col-"] {
    text-align: right !important;
  }

  .form-label {
    font-size: 0.95rem;
  }

  .form-input {
    min-height: 48px;
    padding-top: 18px;
    font-size: 16px;
  }

  .default-button {
    width: 100%;
    max-width: 360px;
    height: 50px;
  }

  .login-box__form--submit {
    width: 100%;
  }

  .login-box__form--signup {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 560px) {
  .login-box__form,
  .register-page .register-box__form,
  .password-page .register-box__form,
  .authorization-page .register-box__form {
    padding: 50px 18px 34px;
  }
}

@media screen and (max-width: 380px) {
  .login-box__form {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Forms pages mobile order: logo/language, form, background */
@media screen and (max-width: 900px) {
  .register-page.d-flex,
  .password-page.d-flex,
  .authorization-page.d-flex {
    flex-direction: column;
    min-height: 100vh;
    background: var(--color-white);
  }

  /* 1. Top area: logo + language */
  .register-page .register-box,
  .password-page .register-box,
  .authorization-page .register-box {
    order: 1;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 0;
    background: var(--color-white);
  }

  .register-page .register-box__lang .dropdown-menu,
  .password-page .register-box__lang .dropdown-menu,
  .authorization-page .register-box__lang .dropdown-menu {
    right: 0;
    left: auto;
  }

  /* 2. Form area */
  .register-page .register-box__form h4,
  .password-page .register-box__form h4,
  .authorization-page .register-box__form h4 {
    margin: 10px 0 22px 0;
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.18;
  }

  .register-page .register-box__form form,
  .password-page .register-box__form form,
  .authorization-page .register-box__form form {
    width: 100%;
    margin: 0;
  }

  .register-page .register-box__form .row,
  .password-page .register-box__form .row,
  .authorization-page .register-box__form .row {
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
  }

  .register-page .register-box__form .col,
  .register-page .register-box__form .col:first-child,
  .register-page .register-box__form .col:last-child,
  .password-page .register-box__form .col,
  .password-page .register-box__form .col:first-child,
  .password-page .register-box__form .col:last-child,
  .authorization-page .register-box__form .col,
  .authorization-page .register-box__form .col:first-child,
  .authorization-page .register-box__form .col:last-child {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .register-page .register-box__form .form-group,
  .password-page .register-box__form .form-group,
  .authorization-page .register-box__form .form-group {
    margin-bottom: 24px;
  }

  .register-page .register-box__form select,
  .password-page .register-box__form select,
  .authorization-page .register-box__form select {
    min-height: 48px;
    font-size: 16px;
  }

  .register-page #register-terms-group,
  .password-page #register-terms-group,
  .authorization-page #register-terms-group {
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
  }

  .register-page #register-terms-group input,
  .password-page #register-terms-group input,
  .authorization-page #register-terms-group input {
    flex: 0 0 auto;
    margin-top: 3px;
  }

  .register-page #register-terms-group label,
  .password-page #register-terms-group label,
  .authorization-page #register-terms-group label {
    width: auto;
    font-size: .76rem;
    line-height: 1.45;
  }

  .register-page .register-box__form--submit,
  .password-page .register-box__form--submit,
  .authorization-page .register-box__form--submit {
    width: 100%;
    float: none;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .register-page .register-box__form--submit #register-back-to-login,
  .password-page .register-box__form--submit #register-back-to-login,
  .authorization-page .register-box__form--submit #register-back-to-login {
    order: 2;
    margin: 0;
    text-align: center;
  }

  .register-page .register-box__form--submit button.default-button,
  .register-page .register-box__form--submit a.default-button,
  .password-page .register-box__form--submit button.default-button,
  .password-page .register-box__form--submit a.default-button,
  .authorization-page .register-box__form--submit button.default-button,
  .authorization-page .register-box__form--submit a.default-button {
    order: 1;
    width: 100%;
    max-width: none;
    height: 50px;
  }

  .password,
  .authorization-page .form-wrapper {
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0 22px 38px;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    background: var(--color-white);
  }

  .password h4,
  .authorization-page .form-wrapper h4 {
    margin: 0 0 24px;
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.18;
  }

  .password .default-button,
  .authorization-page .form-wrapper .default-button {
    width: 100%;
    max-width: none;
    height: 50px;
  }
}

@media screen and (max-width: 560px) {
  .password,
  .authorization-page .form-wrapper {
    margin: 0 18px 34px;
  }
}

@media screen and (max-width: 380px) {
  .register-page .register-box__form,
  .password-page .register-box__form,
  .authorization-page .register-box__form {
    padding-left: 15px;
    padding-right: 15px;
  }

  .register-page .register-box__form--logo-mobile,
  .password-page .register-box__form--logo-mobile,
  .authorization-page .register-box__form--logo-mobile {
    margin-left: -15px;
    margin-right: -15px;
  }

  .password,
  .authorization-page .form-wrapper {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.product-info__basket--select,
.register-box__form select {
  min-height: 46px;
  padding: 11px 52px 11px 18px;
  line-height: 1.35;
  background-color: var(--color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.product-info__basket--select:focus,
.register-box__form select:focus {
  outline: none;
  border-color: var(--color-black);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .08);
}

.product-info__basket--select::-ms-expand,
.register-box__form select::-ms-expand {
  display: none;
}

@media screen and (max-width: 900px) {
  .product-info__basket--select,
  .register-box__form select {
    padding-right: 50px;
    background-position: right 16px center;
  }
}

/* Search results UX: technical product cards */
.search-page {
  background: linear-gradient(180deg, var(--color-white) 0%, #fafafa 100%);
}

.search-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
}

.search-page__header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.search-page__header h2 span {
  color: var(--color-primary);
  font-style: normal;
}

.search-page__count {
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-surface-border-3);
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.search-results-grid.category-list {
  margin-bottom: 58px;
  row-gap: 34px;
}

.search-result-item.category-list__item {
  margin-bottom: 0;
}

.search-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-surface-border-2);
  background: var(--color-white);
  box-shadow: 0 12px 34px -30px var(--color-black);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.search-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-mid);
  box-shadow: 0 18px 42px -28px var(--color-black);
  text-decoration: none;
}

.search-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}

.search-product-card:hover::before {
  transform: scaleX(1);
}

.search-product-card__media {
  height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 12px;
  background: radial-gradient(circle at center, #fff 0%, #fff 52%, #f7f7f7 100%);
}

.category-list__item .search-product-card__media img,
.search-product-card__media img {
  width: 100%;
  height: 100%;
  max-height: 148px;
  object-fit: contain;
  padding: 0;
  background: transparent;
}

.search-product-card__body.category-list__item--desc {
  flex: 1;
  height: auto;
  min-height: 214px;
  padding: 16px 16px 14px;
  background: var(--color-white);
  border-top: 1px solid var(--color-surface-border-2);
  color: var(--color-black);
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.search-product-card:hover .search-product-card__body,
.category-list__item a:hover .search-product-card__body {
  background: var(--color-white);
  color: var(--color-black);
}

.search-product-card__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin-bottom: 10px;
  color: var(--color-text-muted);
  font-size: .72rem;
  line-height: 1.2;
}

.search-product-card__topline span {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.search-product-card__topline strong {
  color: var(--color-black);
  font-size: .78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.search-product-card__body h4,
.category-list__item .search-product-card__body h4 {
  min-height: 0;
  margin: 0 0 13px;
  color: var(--color-black);
  font-size: 1.02rem;
  line-height: 1.28;
  font-weight: 700;
  -webkit-line-clamp: 2;
}

.search-product-card__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.search-product-card__spec {
  min-width: 0;
  padding: 8px 9px;
  background: var(--color-surface-lightest);
  border: 1px solid var(--color-surface-border-2);
}

.search-product-card__spec dt {
  margin: 0 0 3px;
  color: var(--color-text-muted);
  font-size: .68rem;
  line-height: 1.15;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-product-card__spec dt span {
  color: var(--color-text-muted-3);
  font-weight: 500;
}

.search-product-card__spec dd {
  margin: 0;
  color: var(--color-black);
  font-size: .68rem;
  line-height: 1.1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 1199px) {
  .search-product-card__media {
    height: 164px;
  }

  .search-product-card__body.category-list__item--desc {
    min-height: 204px;
  }
}

@media screen and (max-width: 900px) {
  .search-page__header {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .search-results-grid.category-list {
    row-gap: 18px;
  }

  .search-product-card__media {
    height: 132px;
    padding: 12px;
  }

  .category-list__item .search-product-card__media img,
  .search-product-card__media img {
    max-height: 108px;
  }

  .search-product-card__body.category-list__item--desc {
    min-height: 198px;
    padding: 13px;
  }

  .search-product-card__body h4,
  .category-list__item .search-product-card__body h4 {
    font-size: .92rem;
    line-height: 1.24;
  }

  .search-product-card__specs {
    gap: 6px;
  }

  .search-product-card__spec {
    padding: 7px;
  }
}

@media screen and (max-width: 575px) {
  .search-page__header {
    padding: 0 4px;
  }

  .search-page__count {
    display: none;
  }

  .search-product-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    min-height: 0;
  }

  .search-product-card__media {
    height: 100%;
    min-height: 176px;
    padding: 10px;
    border-right: 1px solid var(--color-surface-border-2);
  }

  .category-list__item .search-product-card__media img,
  .search-product-card__media img {
    max-height: 126px;
  }

  .search-product-card__body.category-list__item--desc {
    min-height: 0;
    border-top: 0;
    padding: 12px;
  }

  .search-product-card__topline {
    margin-bottom: 7px;
  }

  .search-product-card__body h4,
  .category-list__item .search-product-card__body h4 {
    margin-bottom: 9px;
    font-size: .9rem;
  }

  .search-product-card__specs {
    grid-template-columns: 1fr 1fr;
  }

  .search-product-card__spec:nth-child(n+5) {
    display: none;
  }
}

/* Cart mobile UX - compact technical cards */
.basket-mobile-actions {
  display: none;
}

.basket-item-select-mobile {
  display: none;
}

@media screen and (max-width: 900px) {
  .basket-page {
    background: linear-gradient(180deg, var(--color-white) 0%, #fafafa 100%);
  }

  .basket-page .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .basket-page .basket {
    display: block;
    margin-top: 18px;
  }

  .basket__details--list-header {
    align-items: stretch;
    gap: 12px;
    margin-bottom: 14px;
  }

  .basket__details--list-header h4 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
  }

  .basket-mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .basket-mobile-actions .cart-action {
    min-width: 0;
    padding: 8px 6px;
    border: 1px solid var(--color-surface-border-3);
    background: var(--color-white);
    color: var(--color-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .66rem;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
  }

  .basket-mobile-actions .cart-action i {
    font-size: .78rem;
  }

  .basket-table {
    margin: 0;
  }

  .basket__details table,
  .basket__details thead,
  .basket__details tbody,
  .basket__details th,
  .basket__details td,
  .basket__details tr {
    display: block;
  }

  .basket__details table {
    width: 100%;
    border: 0;
    margin: 0;
    background: transparent;
  }

  .basket__details thead {
    display: none;
  }

  .basket__details tbody {
    width: 100%;
  }

  .basket__details table tr {
    position: relative;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 34px;
    grid-template-areas: "photo details delete" "photo quantity quantity";
    gap: 9px 11px;
    align-items: start;
    width: 100%;
    padding: 12px;
    margin: 0 0 12px;
    border: 1px solid var(--color-surface-border-3);
    border-radius: 0;
    background: var(--color-white);
    box-shadow: 0 10px 26px -24px var(--color-black);
  }

  .basket__details table tr:last-child {
    border: 1px solid var(--color-surface-border-3);
  }

  .basket__details table td {
    width: auto;
    min-width: 0;
    padding: 0 !important;
    border: 0;
    position: static;
  }

  .basket__details .product-photo {
    grid-area: photo;
    width: auto;
    order: 0;
  }

  .basket__details table .product-photo img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    padding: 5px;
    border: 1px solid var(--color-surface-border-2);
    background: var(--color-white);
  }

  .basket__details .product-details {
    grid-area: details;
    width: auto;
    order: 0;
    padding-left: 0;
    font-size: .76rem;
    line-height: 1.25;
  }

  .basket__details table td.product-details a {
    display: block;
    margin: 0 0 7px;
    color: var(--color-black);
    font-size: .86rem;
    line-height: 1.22;
    font-weight: 500;
    text-decoration: none;
  }

  .basket__details table td.product-details a .weight-600 {
    display: inline-block;
    margin-left: 2px;
    font-weight: 800;
  }

  .basket-product-dimensions {
    gap: 4px;
    margin-top: 0;
  }

  .basket-product-dimension {
    max-width: 100%;
    padding: 3px 5px;
    border: 0;
    border-radius: 2px;
    background: var(--color-surface-lightest);
    font-size: .61rem;
    line-height: 1.15;
    white-space: normal;
  }

  .basket-product-dimension__name {
    font-weight: 800;
  }

  .basket__details .product-quantity {
    grid-area: quantity;
    width: auto;
    order: 0;
    margin-top: 0;
    align-self: end;
  }

  .basket-table-quantity {
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin: 0;
  }

  .basket-table-quantity button {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    line-height: 1;
    font-size: .78rem;
  }

  .basket-table-quantity input {
    flex: 0 0 48px;
    width: 48px;
    height: 30px;
    padding: 0 4px;
    font-size: .78rem;
  }

  .basket__details .product-delete {
    grid-area: delete;
    width: auto;
    order: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .basket-item-select-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 28px;
    margin: 0;
  }

  .basket-item-select-mobile input {
    width: 14px;
    height: 14px;
    margin: 0;
  }

  .basket-item-delete {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    background: transparent;
  }

  .basket-item-delete i {
    font-size: .86rem;
  }

  .basket__details--comment {
    margin: 22px 0 16px;
  }

  .basket__details--comment h5 {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .basket__details--comment textarea {
    min-height: 112px;
    border: 1px solid var(--color-surface-border-3);
    background: var(--color-white);
  }

  .basket__checkout {
    width: 100%;
    margin: 16px 0 22px;
  }

  .basket__checkout .checkout-stick {
    position: static;
    padding: 14px;
    border: 1px solid var(--color-surface-border-3);
    border-radius: 0;
    background: var(--color-white);
    box-shadow: 0 -8px 26px -28px var(--color-black);
    line-height: 1.4;
  }

  .basket__checkout--buttons {
    display: grid;
    gap: 10px;
  }

  .basket__checkout--buttons button,
  .basket__checkout--buttons #basket-back {
    width: 100%;
    max-width: none;
    height: 44px;
    margin: 0;
    border-radius: 2px;
  }

  .basket__checkout .form-group {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    align-items: start;
    padding: 13px 0 0;
    margin: 0;
  }

  .basket__checkout .form-group input {
    margin-top: 3px;
  }

  .basket__checkout .form-group label {
    margin: 0;
    font-size: .72rem;
    line-height: 1.35;
  }
}

@media screen and (max-width: 380px) {
  .basket-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .basket__details table tr {
    grid-template-columns: 64px minmax(0, 1fr) 30px;
    gap: 8px;
    padding: 10px;
  }

  .basket__details table .product-photo img {
    width: 64px;
    height: 64px;
  }

  .basket__details table td.product-details a {
    font-size: .8rem;
  }

  .basket-product-dimension {
    font-size: .58rem;
  }

  .basket-table-quantity button {
    flex-basis: 28px;
    width: 28px;
  }

  .basket-table-quantity input {
    flex-basis: 44px;
    width: 44px;
  }
}

/* PDP articles mobile UX - search-result inspired technical cards */
.product-article-photo-heading,
.product-article-photo-cell,
.product-article-mobile-body-cell {
  display: none;
}

.product-article-cart-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.product-article-add-button {
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  box-shadow: none;
  cursor: pointer;
}

.product-article-add-button span {
  display: none;
}

.product-article-add-button:hover {
  color: var(--color-primary);
  background: transparent;
}

@media screen and (max-width: 900px) {
  .product-page {
    background: linear-gradient(180deg, var(--color-white) 0%, #fafafa 100%);
  }

  .product-page .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .product-inner {
    margin-bottom: 0px;
  }

  .product-photos {
    margin-bottom: 22px;
  }

  .product-photos__main {
    margin-bottom: 0;
    padding: 16px;
  }

  .product-info {
    padding-left: 4px;
    padding-right: 4px;
  }

  .product-info__basket {
    gap: 16px;
    margin: 28px 0 34px;
  }

  .product-info__basket-inner {
    gap: 12px;
  }

  .product-info__basket--select {
    min-width: 0;
    width: min(52vw, 190px);
  }

  .product-info__basket--quantity {
    margin-left: 0;
  }

  .product-info__basket--quantity input {
    width: 90px;
  }

  .product-info__basket--add {
    width: 100%;
    margin-top: 0;
    display: flex;
    justify-content: center;
  }

  .product-info__basket--add .default-button {
    width: auto;
    min-width: 170px;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
  }

  .product-table {
    margin: 0 0 46px;
    overflow: visible;
  }

  .product-table table,
  .product-table thead,
  .product-table tbody,
  .product-table tr,
  .product-table th,
  .product-table td {
    display: block;
  }

  .product-table table {
    width: 100%;
    min-width: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
  }

  .product-table thead {
    display: none;
  }

  .product-table tbody {
    display: grid;
    gap: 14px;
    width: 100%;
  }

  .product-table table tbody tr,
  .product-table table tbody tr:nth-child(2n),
  .product-table table tbody tr:nth-child(2n-1) {
    position: relative;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    width: 100%;
    min-height: 176px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--color-surface-border-3);
    background: var(--color-white);
    box-shadow: 0 10px 24px -22px var(--color-black);
    transition: border-color .18s ease, box-shadow .18s ease;
  }

  .product-table table tbody tr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform .18s ease;
    z-index: 2;
  }

  .product-table table tbody tr.active::before,
  .product-table table tbody tr:hover::before {
    transform: scaleY(1);
  }

  .product-table table tbody tr.active {
    border-color: var(--color-border-mid);
    background: var(--color-white);
  }

  .product-table table td,
  .product-table table td:first-child,
  .product-table table td:nth-child(2) {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    overflow: visible;
    white-space: normal;
    text-align: left;
    font-size: inherit;
  }

  .product-article-photo-cell {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 10px !important;
    border-right: 1px solid var(--color-surface-border-2) !important;
    background: var(--color-white);
  }

  .product-article-photo-cell img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 126px;
    object-fit: contain;
  }

  .product-article-mobile-body-cell {
    display: flex !important;
    min-width: 0;
    padding: 12px 12px 11px !important;
    flex-direction: column;
    justify-content: space-between;
    background: var(--color-white);
  }

  .product-article-code-cell,
  .product-article-cart-cell,
  .product-article-dimension-cell {
    display: none !important;
  }

  .product-article-mobile-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
    margin-bottom: 7px;
    color: var(--color-text-muted);
    font-size: .66rem;
    line-height: 1.2;
  }

  .product-article-mobile-topline span {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
  }

  .product-article-mobile-topline strong {
    color: var(--color-black);
    font-size: .76rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }

  .product-article-mobile-body-cell h4 {
    margin: 0 0 9px;
    color: var(--color-black);
    font-size: .9rem;
    line-height: 1.22;
    font-weight: 800;
  }

  .product-article-mobile-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 10px;
  }

  .product-article-mobile-spec {
    min-width: 0;
    padding: 6px 7px;
    background: var(--color-surface-lightest);
    border: 1px solid var(--color-surface-border-2);
  }

  .product-article-mobile-spec dt {
    margin: 0 0 2px;
    color: var(--color-text-muted);
    font-size: .58rem;
    line-height: 1.15;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-article-mobile-spec dt span {
    color: var(--color-text-muted-3);
    font-weight: 500;
  }

  .product-article-mobile-spec dd {
    margin: 0;
    color: var(--color-black);
    font-size: .68rem;
    line-height: 1.1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
  }

  .product-article-mobile-spec:nth-child(n+5) {
    display: none;
  }

  .product-article-mobile-actions {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    margin-top: auto;
  }

  .product-article-mobile-actions input {
    width: 50px;
    height: 38px;
    padding: 0 4px;
    border: 1px solid var(--color-border-mid);
    background: var(--color-white);
    color: var(--color-black);
    text-align: center;
    font-size: .82rem;
    font-weight: 500;
  }

  .product-article-mobile-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    padding: 9px 10px;
    border: 0;
    background: var(--color-black);
    color: var(--color-white);
    font-size: .7rem;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    box-shadow: 0 8px 22px -18px var(--color-black);
    cursor: pointer;
  }

  .product-article-mobile-add-button:hover,
  .product-article-mobile-add-button:focus {
    background: var(--color-primary);
    color: var(--color-white);
  }
}

@media screen and (max-width: 380px) {
  .product-table table tbody tr,
  .product-table table tbody tr:nth-child(2n),
  .product-table table tbody tr:nth-child(2n-1) {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 162px;
  }

  .product-article-photo-cell {
    padding: 10px 8px !important;
  }

  .product-article-mobile-body-cell {
    padding: 10px !important;
  }

  .product-article-mobile-specs {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .product-article-mobile-spec:nth-child(n+4) {
    display: none;
  }

  .product-article-mobile-actions {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .product-article-mobile-actions input {
    width: 44px;
  }

  .product-article-mobile-add-button {
    font-size: .64rem;
    padding-left: 7px;
    padding-right: 7px;
  }
}

/* PDP mobile: variant select, quantity and add button in one line */
@media screen and (max-width: 900px) {
  .product-info__basket {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px auto;
    gap: 10px;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    margin: 26px 0 34px;
  }

  .product-info__basket-inner {
    display: contents !important;
  }

  .product-info__basket--select {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 10px 38px 10px 14px;
    font-size: 0.9rem;
    background-position: right 14px center;
  }

  .product-info__basket--quantity {
    width: 68px;
    margin: 0;
  }

  .product-info__basket--quantity input {
    width: 68px;
    height: 46px;
    padding: 0 6px;
    font-size: 0.9rem;
  }

  .product-info__basket--add {
    width: auto;
    margin: 0;
    display: block;
  }

  .product-info__basket--add .default-button {
    width: auto;
    min-width: 142px;
    max-width: none;
    height: 46px;
    padding: 0 16px;
    white-space: nowrap;
    font-size: 0.82rem;
    box-shadow: 0 8px 24px -18px var(--color-black);
  }
}

@media screen and (max-width: 380px) {
  .product-info__basket {
    grid-template-columns: minmax(0, 1fr) 54px auto;
    gap: 7px;
  }

  .product-info__basket--select {
    height: 42px;
    padding-left: 10px;
    padding-right: 32px;
    font-size: 0.78rem;
    background-position: right 10px center;
  }

  .product-info__basket--quantity,
  .product-info__basket--quantity input {
    width: 54px;
  }

  .product-info__basket--quantity input {
    height: 42px;
    font-size: 0.8rem;
  }

  .product-info__basket--add .default-button {
    min-width: 116px;
    height: 42px;
    padding: 0 10px;
    font-size: 0.7rem;
    letter-spacing: -0.01em;
  }
}

/* Cart mobile v2 - PDP article inspired cards */
@media screen and (max-width: 900px) {
  .basket-page {
    background: linear-gradient(180deg, var(--color-white) 0%, #fafafa 100%);
  }

  .basket-page .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .basket-page .basket {
    display: block;
    margin-top: 18px;
  }

  .basket__details {
    width: 100%;
    padding: 0;
  }

  .basket__details--list-header {
    display: block;
    margin-bottom: 16px;
  }

  .basket__details--list-header h4 {
    margin: 0 0 14px;
    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .basket-mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .basket-mobile-actions .cart-action {
    min-height: 38px;
    padding: 8px 6px;
    border: 1px solid var(--color-surface-border-3);
    background: var(--color-white);
    color: var(--color-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .66rem;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
  }

  .basket-mobile-actions .cart-action i {
    font-size: .78rem;
  }

  .basket-table {
    margin: 0;
  }

  .basket__details table,
  .basket__details thead,
  .basket__details tbody,
  .basket__details th,
  .basket__details td,
  .basket__details tr {
    display: block;
  }

  .basket__details table {
    width: 100%;
    border: 0;
    margin: 0;
    background: transparent;
  }

  .basket__details thead {
    display: none;
  }

  .basket__details tbody {
    display: grid;
    gap: 14px;
    width: 100%;
  }

  .basket__details table tr {
    position: relative;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-areas: "photo details" "photo actions";
    column-gap: 12px;
    width: 100%;
    min-height: 166px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--color-surface-border-3);
    background: var(--color-white);
    box-shadow: 0 10px 24px -22px var(--color-black);
  }

  .basket__details table tr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform .18s ease;
    z-index: 2;
  }

  .basket__details table tr:hover::before {
    transform: scaleY(1);
  }

  .basket__details table tr:last-child {
    border: 1px solid var(--color-surface-border-3);
  }

  .basket__details table td {
    width: auto;
    min-width: 0;
    padding: 0 !important;
    border: 0;
    position: static;
  }

  .basket__details .product-photo {
    grid-area: photo;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 166px;
    padding: 12px 10px !important;
    border-right: 1px solid var(--color-surface-border-2);
    background: var(--color-white);
  }

  .basket__details .product-photo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
  }

  .basket__details table .product-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 126px;
    padding: 0;
    border: 0;
    object-fit: contain;
    background: transparent;
  }

  .basket__details .product-details {
    grid-area: details;
    width: auto;
    min-width: 0;
    padding: 12px 42px 0 0 !important;
    font-size: .76rem;
    line-height: 1.25;
  }

  .basket__details table td.product-details a {
    display: block;
    margin: 0 0 9px;
    color: var(--color-black);
    font-size: .94rem;
    line-height: 1.2;
    font-weight: 500;
    text-decoration: none;
  }

  .basket__details table td.product-details a .weight-600 {
    display: inline-block;
    margin-left: 2px;
    font-weight: 800;
  }

  .basket-product-dimensions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    line-height: 1.1;
  }

  .basket-product-dimension {
    display: block;
    min-width: 0;
    max-width: none;
    padding: 6px 7px;
    border: 1px solid var(--color-surface-border-2);
    border-radius: 0;
    background: var(--color-surface-lightest);
    font-size: .68rem;
    white-space: normal;
  }

  .basket-product-dimension__name {
    display: block;
    margin: 0 0 2px;
    color: var(--color-text-muted);
    font-size: .58rem;
    line-height: 1.15;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .basket-product-dimension__name::after {
    content: '';
  }

  .basket-product-dimension__value {
    display: block;
    color: var(--color-black);
    font-size: .68rem;
    line-height: 1.12;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
  }

  .basket-product-dimension:nth-child(n+5) {
    display: none;
  }

  .basket__details .product-quantity {
    grid-area: actions;
    width: auto;
    align-self: end;
    padding: 0 12px 12px 0 !important;
    margin: 0;
  }

  .basket-table-quantity {
    display: grid;
    grid-template-columns: 36px 46px 36px;
    justify-content: end;
    align-items: center;
    width: 100%;
    margin: 0;
  }

  .basket-table-quantity button,
  .basket-table-quantity input {
    height: 34px;
    border: 1px solid var(--color-border-mid);
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-black);
  }

  .basket-table-quantity button {
    width: 36px;
    padding: 0;
    line-height: 1;
    font-size: .78rem;
  }

  .basket-table-quantity input {
    width: 46px;
    padding: 0 4px;
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    border-left: 0;
    border-right: 0;
  }

  .basket__details .product-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 3;
  }

  .basket-item-select-mobile {
    display: none;
  }

  .basket-item-delete {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--color-black);
    background: transparent;
  }

  .basket-item-delete i {
    font-size: .9rem;
  }

  .basket-item-delete:hover,
  .basket-item-delete:focus {
    color: var(--color-primary);
    background: transparent;
  }

  .basket__details--comment {
    margin: 24px 0 16px;
  }

  .basket__details--comment h5 {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .basket__details--comment textarea {
    min-height: 116px;
    border: 1px solid var(--color-surface-border-3);
    background: var(--color-white);
  }

  .basket__checkout {
    width: 100%;
    margin: 16px 0 22px;
  }

  .basket__checkout .checkout-stick {
    position: static;
    padding: 14px;
    border: 1px solid var(--color-surface-border-3);
    border-radius: 0;
    background: var(--color-white);
    box-shadow: 0 -8px 26px -28px var(--color-black);
    line-height: 1.4;
  }

  .basket__checkout--buttons {
    display: grid;
    gap: 10px;
  }

  .basket__checkout--buttons button,
  .basket__checkout--buttons #basket-back {
    width: 100%;
    max-width: none;
    height: 44px;
    margin: 0;
    border-radius: 2px;
  }

  .basket__checkout .form-group {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    align-items: start;
    padding: 13px 0 0;
    margin: 0;
  }

  .basket__checkout .form-group input {
    margin-top: 3px;
  }

  .basket__checkout .form-group label {
    margin: 0;
    font-size: .72rem;
    line-height: 1.35;
  }
}

@media screen and (max-width: 380px) {
  .basket-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .basket__details table tr {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 154px;
    column-gap: 10px;
  }

  .basket__details .product-photo {
    min-height: 154px;
    padding: 10px 8px !important;
  }

  .basket__details table .product-photo img {
    max-height: 108px;
  }

  .basket__details .product-details {
    padding: 10px 38px 0 0 !important;
  }

  .basket__details table td.product-details a {
    font-size: .84rem;
  }

  .basket-product-dimensions {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .basket-product-dimension:nth-child(n+4) {
    display: none;
  }

  .basket__details .product-quantity {
    padding: 0 10px 10px 0 !important;
  }

  .basket-table-quantity {
    grid-template-columns: 32px 42px 32px;
  }

  .basket-table-quantity button,
  .basket-table-quantity input {
    height: 32px;
  }

  .basket-table-quantity button {
    width: 32px;
  }

  .basket-table-quantity input {
    width: 42px;
  }
}

/* Mobile spacing refinement: PDP and cart content gutters + fuller cart specs */
@media screen and (max-width: 900px) {
  .product-page .container,
  .basket-page .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .product-page .breadcrumbs,
  .basket-page .breadcrumbs,
  .product-info,
  .basket__details {
    padding-left: 15px;
    padding-right: 15px;
  }

  .basket__details table tr {
    grid-template-columns: 100px minmax(0, 1fr);
    column-gap: 0;
    min-height: 164px;
  }

  .basket__details .product-photo {
    min-height: 164px;
    padding: 14px 12px !important;
  }

  .basket__details table .product-photo img {
    max-height: 122px;
  }

  .basket__details .product-details {
    padding: 13px 14px 0 14px !important;
  }

  .basket__details table td.product-details a {
    padding-right: 34px;
    margin-bottom: 10px;
  }

  .basket-product-dimensions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .basket-product-dimension {
    width: 100%;
    min-height: 44px;
    padding: 7px 8px;
  }

  .basket-product-dimension:nth-child(odd):last-child {
    grid-column: 1 / -1;
  }

  .basket-product-dimension__name {
    font-size: .6rem;
  }

  .basket-product-dimension__value {
    font-size: .7rem;
    line-height: 1.16;
  }

  .basket__details .product-quantity {
    padding: 0 14px 13px 14px !important;
  }

  .basket-table-quantity {
    justify-content: end;
  }
}

@media screen and (max-width: 420px) {
  .product-page .container,
  .basket-page .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media screen and (max-width: 380px) {
  .product-page .container,
  .basket-page .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .basket__details table tr {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 150px;
    column-gap: 0;
  }

  .basket__details .product-photo {
    min-height: 150px;
    padding: 12px 9px !important;
  }

  .basket__details table .product-photo img {
    max-height: 102px;
  }

  .basket__details .product-details {
    padding: 11px 12px 0 12px !important;
  }

  .basket__details table td.product-details a {
    padding-right: 30px;
  }

  .basket-product-dimensions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .basket-product-dimension:nth-child(n+4) {
    display: block;
  }

  .basket-product-dimension:nth-child(n+5) {
    display: none;
  }

  .basket-product-dimension {
    min-height: 42px;
    padding: 6px 7px;
  }

  .basket-product-dimension__name {
    font-size: .56rem;
  }

  .basket-product-dimension__value {
    font-size: .64rem;
  }

  .basket__details .product-quantity {
    padding: 0 12px 12px 12px !important;
  }
}

/* PDP articles mobile: keep all technical specs visible and fit long text */
@media screen and (max-width: 900px) {
  .product-table table tbody tr,
  .product-table table tbody tr:nth-child(2n),
  .product-table table tbody tr:nth-child(2n-1) {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: auto;
    overflow: visible;
  }

  .product-article-photo-cell {
    min-width: 0;
    padding: 10px 8px !important;
  }

  .product-article-photo-cell img {
    max-height: 118px;
  }

  .product-article-mobile-body-cell {
    min-width: 0;
    padding: 11px 10px 12px !important;
  }

  .product-article-mobile-body-cell h4 {
    margin-bottom: 8px;
    font-size: .88rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .product-article-mobile-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 10px;
  }

  .product-article-mobile-spec,
  .product-article-mobile-spec:nth-child(n+4),
  .product-article-mobile-spec:nth-child(n+5) {
    display: block;
    min-width: 0;
    min-height: 0;
    padding: 5px 6px;
    overflow: visible;
  }

  .product-article-mobile-spec dt,
  .product-article-mobile-spec dd {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .product-article-mobile-spec dt {
    margin-bottom: 2px;
    font-size: .5rem;
    line-height: 1.12;
  }

  .product-article-mobile-spec dd {
    font-size: .59rem;
    line-height: 1.13;
  }

  .product-article-mobile-actions {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px;
    padding: 0 5px;
  }

  .product-article-mobile-actions input {
    width: 48px;
  }

  .product-article-mobile-add-button {
    min-width: 0;
    padding: 9px 8px;
    font-size: .62rem;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media screen and (max-width: 420px) {
  .product-table table tbody tr,
  .product-table table tbody tr:nth-child(2n),
  .product-table table tbody tr:nth-child(2n-1) {
    grid-template-columns: 106px minmax(0, 1fr);
  }

  .product-article-mobile-body-cell h4 {
    font-size: .84rem;
  }

  .product-article-mobile-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .product-article-mobile-spec dt {
    font-size: .48rem;
  }

  .product-article-mobile-spec dd {
    font-size: .56rem;
  }

  .product-article-mobile-add-button {
    font-size: .58rem;
  }
}

@media screen and (max-width: 380px) {
  .product-table table tbody tr,
  .product-table table tbody tr:nth-child(2n),
  .product-table table tbody tr:nth-child(2n-1) {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .product-article-mobile-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-article-mobile-spec:nth-child(n+4),
  .product-article-mobile-spec:nth-child(n+5) {
    display: block;
  }

  .product-article-mobile-actions {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .product-article-mobile-actions input {
    width: 42px;
  }
}

/* Search results mobile: PDP-like article cards */
.search-result-item.category-list__item {
  display: flex;
}

.search-result-item.category-list__item > .search-product-card {
  width: 100%;
}

.search-product-card a,
.search-result-item.category-list__item .search-product-card a {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: var(--color-black);
  box-shadow: none;
  text-decoration: none;
  transform: none;
}

.search-result-item.category-list__item .search-product-card a:hover {
  transform: none;
  box-shadow: none;
  text-decoration: none;
}

.search-product-card__media-link {
  display: block;
}

.search-product-card__title {
  display: block;
}

.search-product-card__content {
  min-width: 0;
}

.search-product-card__actions {
  display: none;
}

@media screen and (min-width: 576px) {
  .search-product-card__media-link {
    display: block;
  }

  .search-product-card__media {
    display: flex;
  }

  .search-product-card__body.category-list__item--desc {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 575px) {
  .search-page .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .search-page__header {
    padding: 0;
    margin-bottom: 16px;
  }

  .search-page__header h2 {
    font-size: 1.55rem;
    line-height: 1.16;
  }

  .search-results-grid.category-list {
    gap: 14px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 46px;
  }

  .search-result-item.category-list__item {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
  }

  .search-result-item.category-list__item > .search-product-card {
    position: relative;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    width: 100%;
    min-height: 176px;
    overflow: hidden;
    border: 1px solid var(--color-surface-border-3);
    background: var(--color-white);
    box-shadow: 0 10px 24px -22px var(--color-black);
    transition: border-color .18s ease, box-shadow .18s ease;
  }

  .search-product-card::before {
    width: 3px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top center;
  }

  .search-product-card:hover::before,
  .search-product-card:focus-within::before {
    transform: scaleY(1);
  }

  .search-product-card:hover {
    transform: none;
    border-color: var(--color-border-mid);
    box-shadow: 0 14px 28px -24px var(--color-black);
  }

  .search-product-card__media-link {
    display: block;
    min-width: 0;
    height: 100%;
  }

  .search-product-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 176px;
    padding: 10px 8px;
    border-right: 1px solid var(--color-surface-border-2);
    background: var(--color-white);
  }

  .category-list__item .search-product-card__media img,
  .search-product-card__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 118px;
    object-fit: contain;
    padding: 0;
    background: transparent;
  }

  .search-product-card__body.category-list__item--desc {
    display: flex;
    min-width: 0;
    min-height: 0;
    padding: 11px 10px 12px;
    border-top: 0;
    flex-direction: column;
    justify-content: space-between;
    background: var(--color-white);
    color: var(--color-black);
    overflow: visible;
  }

  .search-product-card__topline {
    gap: 5px 8px;
    margin-bottom: 7px;
    font-size: .66rem;
    line-height: 1.2;
  }

  .search-product-card__topline strong {
    font-size: .76rem;
  }

  .search-product-card__body h4,
  .category-list__item .search-product-card__body h4 {
    margin: 0 0 8px;
    color: var(--color-black);
    font-size: .88rem;
    line-height: 1.18;
    font-weight: 800;
    overflow-wrap: anywhere;
  }

  .search-product-card__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 10px;
  }

  .search-product-card__spec {
    min-width: 0;
    min-height: 0;
    padding: 5px 6px;
    overflow: visible;
  }

  .search-product-card__spec:nth-child(n+5) {
    display: none;
  }

  .search-product-card__spec dt,
  .search-product-card__spec dd {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .search-product-card__spec dt {
    margin-bottom: 2px;
    font-size: .5rem;
    line-height: 1.12;
  }

  .search-product-card__spec dd {
    font-size: .59rem;
    line-height: 1.13;
  }

  .search-product-card__actions {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    margin-top: auto;
  }

  .search-product-card__quantity {
    width: 48px;
    height: 38px;
    padding: 0 4px;
    border: 1px solid var(--color-border-mid);
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-black);
    text-align: center;
    font-size: .82rem;
    font-weight: 500;
  }

  .search-product-card__add-button,
  .search-result-item.category-list__item .search-product-card .search-product-card__add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    padding: 9px 10px;
    border: 0;
    background: var(--color-black);
    color: var(--color-white);
    font-size: .7rem;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    box-shadow: 0 8px 22px -18px var(--color-black);
    cursor: pointer;
  }

  .search-product-card__add-button:hover,
  .search-product-card__add-button:focus,
  .search-result-item.category-list__item .search-product-card .search-product-card__add-button:hover,
  .search-result-item.category-list__item .search-product-card .search-product-card__add-button:focus {
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
  }
}

@media screen and (max-width: 420px) {
  .search-result-item.category-list__item > .search-product-card {
    grid-template-columns: 106px minmax(0, 1fr);
  }

  .search-product-card__body h4,
  .category-list__item .search-product-card__body h4 {
    font-size: .84rem;
  }

  .search-product-card__specs {
    gap: 4px;
  }

  .search-product-card__spec dt {
    font-size: .48rem;
  }

  .search-product-card__spec dd {
    font-size: .56rem;
  }

  .search-product-card__add-button,
  .search-result-item.category-list__item .search-product-card .search-product-card__add-button {
    font-size: .58rem;
  }
}

@media screen and (max-width: 380px) {
  .search-page .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .search-result-item.category-list__item > .search-product-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .search-product-card__media {
    min-height: 166px;
    padding: 10px 7px;
  }

  .category-list__item .search-product-card__media img,
  .search-product-card__media img {
    max-height: 106px;
  }

  .search-product-card__actions {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .search-product-card__quantity {
    width: 42px;
  }
}

/* Orders list + order details UX refresh */
.orders-page-title {
  margin-bottom: 24px;
  font-size: clamp(1.65rem, 2.1vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.user-panel__content .orders-header.orders-header--enhanced {
  align-items: center;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--color-surface-border-3);
  border-bottom: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.orders-header--enhanced > div {
  padding: 15px 10px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.orders-header--enhanced > div:last-child {
  border-right: 0;
}

.orders-list--cards {
  border: 1px solid var(--color-surface-border-3);
  background: var(--color-white);
}

.user-panel__content .orders-list--cards .orders-list__item {
  align-items: center;
  border-bottom: 1px solid var(--color-surface-border-3);
  background: var(--color-white);
  transition: background-color .15s ease, box-shadow .15s ease;
}

.user-panel__content .orders-list--cards .orders-list__item:last-child {
  border-bottom: 0;
}

.user-panel__content .orders-list--cards .orders-list__item:hover {
  background: var(--color-surface-lightest);
}

.user-panel__content .orders-list--cards .orders-list__item div {
  padding: 18px 10px;
}

.order-card__number a {
  color: var(--color-black);
  font-weight: 800;
  text-decoration: none;
}

.order-card__number a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.order-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid var(--color-surface-border-3);
  background: var(--color-surface-lightest);
  color: var(--color-black);
  font-size: .72rem;
  line-height: 1.15;
  font-weight: 800;
}

.order-status-pill--pending {
  border-color: #f1c765;
  background: #fff7df;
  color: #8a6100;
}

.order-status-pill--in-progress {
  border-color: #9ecbff;
  background: #eaf4ff;
  color: #0b5cab;
}

.order-status-pill--completed {
  border-color: #9bd8b1;
  background: #eaf8ef;
  color: #0f6a3a;
}

.order-status-pill--cancel {
  border-color: #f2a8a8;
  background: #fff0f0;
  color: #8a1f1f;
}

.order-status-pill--unknown {
  border-color: var(--color-surface-border-3);
  background: var(--color-surface-lightest);
  color: var(--color-text-main);
}

.order-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.order-card__details,
.order-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--color-surface-border-3);
  color: var(--color-black);
  background: var(--color-white);
  font-size: .68rem;
  line-height: 1.1;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.order-card__details:hover,
.order-card__cart:hover {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
  text-decoration: none;
}

.order-card__cart {
  min-width: 36px;
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.order-card__cart i {
  font-size: .92rem;
}

.order-card__cart span {
  display: none;
}

.orders-empty {
  border: 1px solid var(--color-surface-border-3);
  border-radius: 0;
  background: var(--color-surface-lightest);
}

.order-details-page {
  background: linear-gradient(180deg, var(--color-white) 0%, #fafafa 100%);
}

.order-details {
  margin: 36px 0 64px;
}

#back-to-orders.order-details__back {
  width: auto;
  min-width: 240px;
  margin: 0 0 22px;
  padding: 11px 16px;
  border: 1px solid var(--color-surface-border-3);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-black);
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

#back-to-orders.order-details__back:hover {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

.order-details-card.card {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-surface-border-3);
  border-radius: 0;
  background: var(--color-white);
  box-shadow: 0 18px 42px -34px var(--color-black);
}

.order-details-card__header.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-surface-border-3);
  background: var(--color-black);
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

.order-details-card__header span,
.order-details-card__header strong {
  color: var(--color-white);
}

.order-details-card__header strong {
  font-size: 1.3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.order-details-card__body.card-body {
  padding: 26px 24px 28px;
}

.order-details__section {
  margin-bottom: 26px;
}

.order-details__section:last-child {
  margin-bottom: 0;
}

.order-details__section h5 {
  margin: 0 0 14px;
  color: var(--color-black);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.order-details__info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.order-details__info-item {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--color-surface-border-2);
  background: var(--color-surface-lightest);
}

.order-details__info-item span {
  display: block;
  margin: 0 0 6px;
  color: var(--color-text-muted);
  font-size: .72rem;
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.order-details__info-item strong {
  display: block;
  color: var(--color-black);
  font-size: .92rem;
  line-height: 1.2;
  font-weight: 800;
}

.order-details__comment {
  margin: 0;
  padding: 16px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-surface-lightest);
  color: var(--color-text-main);
  line-height: 1.5;
}

.order-details__products-title {
  display: none;
}

.order-details__products--headers {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--color-surface-border-3);
  border-bottom: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.order-details__products--headers > div {
  color: var(--color-white);
}

.order-details__products-list {
  border: 1px solid var(--color-surface-border-3);
  background: var(--color-white);
}

.order-details__products--item a {
  padding: 0;
  border-bottom: 1px solid var(--color-surface-border-3);
  color: var(--color-black);
  background: var(--color-white);
}

.order-details__products--item:last-child a {
  border-bottom: 0;
}

.order-details__products--item a:hover {
  background: var(--color-surface-lightest);
  text-decoration: none;
}

.order-product-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
}

.order-details__products .order-product-card__photo img,
.order-product-card__photo img {
  display: block;
  width: 118px !important;
  max-width: 100%;
  height: 92px;
  object-fit: contain;
}

.order-product-card__info {
  padding: 18px 18px;
}

.order-product-card__name {
  margin: 0 0 7px;
  color: var(--color-black);
  font-size: .98rem;
  line-height: 1.25;
  font-weight: 700;
}

.order-product-card__code {
  margin-bottom: 10px;
  color: var(--color-black);
  font-size: .78rem;
  line-height: 1.2;
}

.order-product-card__code span {
  color: var(--color-text-muted);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.order-product-card__code strong {
  font-weight: 800;
}

.order-product-dimensions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.order-product-dimension {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  max-width: 100%;
  padding: 4px 7px;
  border: 1px solid var(--color-surface-border-2);
  background: var(--color-surface-lightest);
  font-size: .72rem;
  line-height: 1.15;
}

.order-product-dimension__name {
  color: var(--color-text-muted);
  font-weight: 700;
}

.order-product-dimension__value {
  color: var(--color-black);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.order-product-card__quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
}

.order-product-card__quantity span {
  display: none;
}

.order-product-card__quantity strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--color-surface-border-3);
  background: var(--color-surface-lightest);
  color: var(--color-black);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

@media screen and (max-width: 900px) {
  .user-panel {
    margin-top: 24px;
  }

  .user-panel__content h3.orders-page-title,
  .orders-page-title {
    margin: 0 0 16px;
    font-size: 1.55rem;
  }

  .orders-list--cards {
    display: grid;
    gap: 14px;
    border: 0;
    background: transparent;
  }

  .user-panel__content .orders-list--cards .orders-list__item,
  .user-panel__content .orders-list--cards .orders-list__item:last-child {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "number status" "date date" "articles actions";
    gap: 10px 12px;
    width: 100%;
    margin: 0;
    padding: 14px;
    overflow: hidden;
    border: 1px solid var(--color-surface-border-3);
    border-radius: 0;
    background: var(--color-white);
    box-shadow: 0 10px 24px -22px var(--color-black);
  }

  .user-panel__content .orders-list--cards .orders-list__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform .18s ease;
  }

  .user-panel__content .orders-list--cards .orders-list__item:hover::before {
    transform: scaleY(1);
  }

  .user-panel__content .orders-list--cards .orders-list__item div {
    padding: 0;
    text-align: left !important;
  }

  .order-card__number {
    grid-area: number;
  }

  .order-card__date {
    grid-area: date;
  }

  .order-card__articles {
    grid-area: articles;
  }

  .order-card__status {
    grid-area: status;
    align-self: start;
    text-align: right !important;
  }

  .order-card__actions {
    grid-area: actions;
    justify-content: end;
    align-self: end;
  }

  .orders-list__item--subtitle {
    display: block;
    margin: 0 0 4px;
    color: var(--color-text-muted);
    font-size: .62rem;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .order-card__number a {
    display: block;
    font-size: 1.05rem;
    line-height: 1.15;
  }

  .order-card__value {
    color: var(--color-black);
    font-size: .84rem;
    line-height: 1.2;
    font-weight: 700;
  }

  .order-status-pill {
    min-height: 26px;
    padding: 5px 8px;
    font-size: .64rem;
    text-align: center;
  }

  .order-card__details {
    display: none;
  }

  .order-card__cart {
    min-width: 112px;
    min-height: 36px;
    gap: 7px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .order-card__cart span {
    display: inline;
    font-size: .62rem;
  }

  .order-details-page .container,
  .user-page .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .order-details {
    display: block;
    margin: 24px 0 44px;
  }

  #back-to-orders.order-details__back {
    width: 100%;
    min-width: 0;
    margin-bottom: 16px;
  }

  .order-details-card__header.card-header {
    display: block;
    padding: 18px;
  }

  .order-details-card__header span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .78);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .order-details-card__header strong {
    display: block;
    font-size: 1.22rem;
  }

  .order-details-card__body.card-body {
    padding: 18px;
  }

  .order-details__info-grid {
    grid-template-columns: 1fr;
  }

  .order-details__comment {
    padding: 14px;
    font-size: .9rem;
  }

  .order-details__products-title {
    display: block;
  }

  .order-details__products--headers {
    display: none;
  }

  .order-details__products-list {
    display: grid;
    gap: 14px;
    border: 0;
    background: transparent;
  }

  .order-details__products--item a,
  .order-details__products--item:last-child a {
    position: relative;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-areas: "photo info" "photo quantity";
    min-height: 166px;
    overflow: hidden;
    border: 1px solid var(--color-surface-border-3);
    background: var(--color-white);
    box-shadow: 0 10px 24px -22px var(--color-black);
  }

  .order-details__products--item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform .18s ease;
    z-index: 2;
  }

  .order-details__products--item a:hover::before {
    transform: scaleY(1);
  }

  .order-details__products--item .item-photo,
  .order-details__products--item .item-info,
  .order-details__products--item .item-quantity {
    width: auto;
    text-align: left;
  }

  .order-product-card__photo {
    grid-area: photo;
    min-height: 166px;
    padding: 12px 10px;
    border-right: 1px solid var(--color-surface-border-2);
  }

  .order-details__products .order-product-card__photo img,
  .order-product-card__photo img {
    width: 100% !important;
    height: auto;
    max-height: 126px;
  }

  .order-product-card__info {
    grid-area: info;
    min-width: 0;
    padding: 12px 12px 0;
  }

  .order-product-card__name {
    margin-bottom: 7px;
    font-size: .9rem;
    line-height: 1.2;
  }

  .order-product-card__code {
    margin-bottom: 8px;
    font-size: .74rem;
  }

  .order-product-dimensions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .order-product-dimension {
    display: block;
    min-width: 0;
    padding: 6px 7px;
    font-size: .68rem;
  }

  .order-product-dimension__name {
    display: block;
    margin-bottom: 2px;
    font-size: .58rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .order-product-dimension__value {
    display: block;
    font-size: .68rem;
    overflow-wrap: anywhere;
  }

  .order-product-dimension:nth-child(n+5) {
    display: none;
  }

  .order-product-card__quantity {
    grid-area: quantity;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 12px 12px;
    text-align: right;
  }

  .order-product-card__quantity span {
    display: inline;
    color: var(--color-text-muted);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .order-product-card__quantity strong {
    min-width: 38px;
    min-height: 32px;
    font-size: .82rem;
  }
}

@media screen and (max-width: 380px) {
  .order-details-page .container,
  .user-page .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .user-panel__content .orders-list--cards .orders-list__item,
  .user-panel__content .orders-list--cards .orders-list__item:last-child {
    padding: 12px;
  }

  .order-card__cart {
    min-width: 92px;
  }

  .order-card__cart span {
    display: none;
  }

  .order-details__products--item a,
  .order-details__products--item:last-child a {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 154px;
  }

  .order-product-card__photo {
    min-height: 154px;
    padding: 10px 8px;
  }

  .order-product-card__info {
    padding: 10px 10px 0;
  }

  .order-product-card__name {
    font-size: .82rem;
  }

  .order-product-dimensions {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .order-product-dimension:nth-child(n+4) {
    display: none;
  }

  .order-product-card__quantity {
    padding: 0 10px 10px;
  }
}

/* Login/register mobile logo centering */
@media screen and (max-width: 900px) {
  .login-box__logo-mobile,
  .register-page .register-box__form--logo-mobile,
  .password-page .register-box__form--logo-mobile,
  .authorization-page .register-box__form--logo-mobile {
    justify-content: center;
  }
}

/* Login/register intro panel */
.login-page .company-box,
.register-page .company-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px;
  background: #0c0c0c;
  color: var(--color-white);
  text-align: center;
}

.login-page .company-box {
  width: 70%;
  order: 2;
}

.register-page .company-box {
  width: 30%;
  order: 0;
}

.company-box__inner {
  width: 100%;
  max-width: 860px;
  margin: auto;
}

.company-box__logo {
  display: block;
  width: min(260px, 42vw);
  height: auto;
  margin: 0 auto 26px;
}

.company-box__company {
  color: var(--color-white);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.company-box__subtitle {
  margin-top: 4px;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.company-box__text {
  max-width: 880px;
  margin: 60px auto 0;
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.register-page .company-box__logo {
  width: min(270px, 20vw);
}

.register-page .company-box__company {
  font-size: clamp(25px, 2.3vw, 38px);
}

.register-page .company-box__subtitle {
  font-size: clamp(12px, 1vw, 16px);
}

.register-page .company-box__text {
  max-width: 430px;
  margin-top: 42px;
  font-size: 13px;
}

@media screen and (max-width: 900px) {
  .login-page .company-box,
  .register-page .company-box,
  .password-page .company-box,
  .authorization-page .company-box {
    display: none;
  }

  .login-box__logo-mobile,
  .register-page .register-box__form--logo-mobile,
  .password-page .register-box__form--logo-mobile,
  .authorization-page .register-box__form--logo-mobile {
    justify-content: center;
  }
}
