:root {
  --linkColor: #327fe5;
  --linkUnderlineColor: rgba(0, 96, 160, 0.15);
  --linkColorVisited: #b4d1f6;
  --linkUnderlineColorVisited: rgba(112, 160, 176, 0.15);
  --linkHoverColor: #ff1515;
  --linkHoverUnderlineColor: rgba(176, 48, 0, 0.15);
  --header-bg-color: #fff;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  line-height: 1.4;
  background-color: #F1E8DA;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 2%;
}

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

.header__nav a {
  padding-left: 0.35em;
  color: #000;
  text-decoration: none;
}

.header__nav a:hover {
  color: red;
}

.header__nav a:not(:last-child):after {
  content: ' /';
  color: #000 !important;
}

.basic-button {
  border: none;
  border-radius: 7px;
  padding: 9px 30px;
  color: #fff;
  font-size: 1em;
  text-decoration: none;
  background-color: #E35E1E;
  transition: background-color 0.1s ease;
}

.basic-button:hover {
  background-color: #ce4f28;
}

.header-user-name {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 9px 30px;
  color: #000;
  font-size: 1em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-user-name:hover {
  border-color: #E35E1E;
  color: #E35E1E;
}

.header-logout-btn {
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 5px 15px;
  color: #5b5b5b;
  font-size: 0.9em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-logout-btn:hover {
  border-color: #E35E1E;
  color: #E35E1E;
}

.profile-logout-btn {
  display: block;
  margin-top: 1.5em;
  border-top: 1px solid #d0d0d0;
  padding-top: 1em;
  color: #5b5b5b;
  font-size: 0.9em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.profile-logout-btn:hover {
  color: #E35E1E;
}

.main {
  box-sizing: border-box;
  width: 100%;
  padding: 0 2%;
}

.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  animation: hero-appear 0.85s ease-out forwards;
}

@keyframes hero-appear {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 0.95;
  text-align: center;
}

.hero-section p {
  margin: 1.5em 0 1.875em 0;
  font-size: 1.25em;
  /* line-height: 1; */
  text-align: center;
}

.hero-section-kabel-image {
  position: absolute;
  top: 50%;
  right: -2%;
  width: 30vw;
  height: auto;
}

.hero-section-glass-image {
  position: absolute;
  top: 28%;
  left: -2.2%;
  width: 30vw;
  height: auto;
}

.features {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 70px;
  border: 1px solid #56160F;
  border-radius: 7px;
  padding: 10px;
  list-style: none;
}

.features li {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35em;
  line-height: 2;
}

.features li img {
  width: 2em;
  height: 2em;
}

.section {
  margin-bottom: 80px;
}

/* Появление при прокрутке: фейд + лёгкий подъём */
.section-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  width: 100%;
  margin: 0 0 0.5em 0;
  font-size: 3em;
  text-align: center;
}

.selling-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 0;
  list-style: none;
}

.selling-list li {
  border: 1px solid #000;
  border-radius: 10px;
  padding: 10px 20px;
}

.triple-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.left-section h3,
.left-section p,
.center-section h3,
.center-section p,
.right-section h3,
.right-section p {
  margin: 0;
}

.left-section,
.center-section,
.right-section {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.center-section {
  margin-top: calc(1.17em + 10px + 100px + 2em + 36px);
}

.right-section {
  margin-top: calc((1.17em + 10px + 100px + 2em + 36px) * 2);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list-item {
  position: sticky;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1em;
  border-radius: 20px;
  padding: 1em;
}

.first-item {
  top: 20px;
}

.second-item {
  top: calc(20px + 2.5em + 30px);
}

.third-item {
  top: calc(20px + 2.5em + 30px + 2.5em + 30px);
}

.fourth-item {
  top: calc(20px + 2.5em + 30px + 2.5em + 30px + 2.5em + 30px);
}

.first-item {
  background-color: #DDB2CA;
}

.first-item .steps-list-item-content-header-number {
  border-color: #56160F;
}

.second-item {
  color: #fff;
  background-color: #9D3024;
}

.second-item .steps-list-item-content-header-number {
  border-color: #fff;
}

.third-item {
  color: #fff;
  background-color: #131523;
}

.third-item .steps-list-item-content-header-number {
  border-color: #000;
}

.fourth-item {
  color: #000;
  background-color: #B2DDBE;
}

.third-item .steps-list-item-content-header-number {
  border-color: #fff;
}

.steps-list-item-content {
  display: flex;
  flex-direction: column;
}

.steps-list-item-content-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5em;
  margin-bottom: auto;
  font-size: 1.5em;
}

.steps-list-item-content-header-number {
  border: 1px solid;
  border-radius: 20px;
  padding: 0.1em 1.25em;
  font-weight: bold;
  font-style: italic;
}

.steps-list-item-content-header-title {
  margin: 0;
  font-weight: medium;
}

.steps-list-item-content-title {
  margin: 0 0 0.1em 0;
  font-weight: bold;
  font-size: 1.6em;
}

.steps-list-item-content-text {
  margin: 0;
  font-weight: medium;
  font-size: 1.2em;
}

.steps-list-item-image {
  max-width: 30%;
  height: auto;
}

/* Логистика: слой с грузовиками sticky (в блоке — фиксированы, при выходе остаются в блоке), 3 грузовика + ветер */
.logistics-section {
  position: relative;
  padding-top: 2em;
  padding-bottom: 3em;
  overflow-x: hidden;
  overflow-y: visible;
}

.logistics-section .section-title {
  position: relative;
  z-index: 2;
}

/* Слой на всю ширину вьюпорта; margin вместо transform чтобы не провоцировать горизонтальный скролл */
.logistics-trucks-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  box-sizing: border-box;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Один «объезд»: грузовик + ветер, едет слева направо */
.logistics-truck-item {
  position: absolute;
  left: 0;
  width: 120px;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.logistics-truck-item-1 {
  top: 8%;
  animation: logistics-drive-ltr 16s linear infinite;
  animation-delay: 0s;
}

.logistics-truck-item-2 {
  top: 28%;
  width: 95px;
  animation: logistics-drive-ltr 20s linear infinite;
  animation-delay: -8s;
}

.logistics-truck-item-3 {
  top: 48%;
  width: 105px;
  animation: logistics-drive-ltr 18s linear infinite;
  animation-delay: -4s;
}

.logistics-truck-item-4 {
  top: 62%;
  width: 90px;
  animation: logistics-drive-ltr 19s linear infinite;
  animation-delay: -12s;
}

.logistics-truck-item-5 {
  top: 78%;
  width: 100px;
  animation: logistics-drive-ltr 21s linear infinite;
  animation-delay: -6s;
}

.logistics-truck-item-6 {
  top: 92%;
  width: 88px;
  animation: logistics-drive-ltr 17s linear infinite;
  animation-delay: -10s;
}

.logistics-truck-item-7 {
  top: 5%;
  width: 72px;
  animation: logistics-drive-ltr 15s linear infinite;
  animation-delay: -2s;
}

.logistics-truck-item-8 {
  top: 22%;
  width: 118px;
  animation: logistics-drive-ltr 22s linear infinite;
  animation-delay: -14s;
}

.logistics-truck-item-9 {
  top: 38%;
  width: 82px;
  animation: logistics-drive-ltr 18s linear infinite;
  animation-delay: -7s;
}

.logistics-truck-item-10 {
  top: 88%;
  width: 68px;
  animation: logistics-drive-ltr 14s linear infinite;
  animation-delay: -11s;
}

/* Выезд из-за края экрана (левый/правый край вьюпорта) */
@keyframes logistics-drive-ltr {
  0% {
    transform: translateX(calc(-100vw - 100%));
  }
  100% {
    transform: translateX(calc(100vw + 100%));
  }
}

.logistics-truck-item .logistics-truck-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.22;
}

/* Ветер слева от грузовика, анимация «дует» */
.logistics-truck-wind {
  position: absolute;
  top: 0;
  right: 100%;
  left: auto;
  z-index: 1;
  width: 50px;
  height: 45%;
  margin-right: -4px;
  overflow: visible;
  pointer-events: none;
}

.logistics-truck-item .logistics-wind-img {
  position: absolute;
  right: 0;
  left: auto;
  width: 120%;
  height: auto;
  max-height: 30%;
  object-fit: contain;
  object-position: right center;
  opacity: 0.45;
  transform-origin: right center;
  animation: logistics-wind-wobble 1.8s ease-in-out infinite;
}

.logistics-truck-item .logistics-wind-1 {
  top: 0;
  animation-delay: 0s;
}

.logistics-truck-item .logistics-wind-2 {
  top: 38%;
  animation-delay: -0.3s;
}

.logistics-truck-item .logistics-wind-3 {
  top: 72%;
  animation-delay: -0.6s;
}

@keyframes logistics-wind-wobble {

  0%,
  100% {
    transform: translateX(0) scaleX(0.92);
  }

  50% {
    transform: translateX(-6px) scaleX(1.05);
  }
}

.logistics-content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
}

.logistics-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  text-align: left;
}

/* Один сегмент = один блок прокрутки, большое расстояние между фразами */
.logistics-segment {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 70vh;
  padding: 2em 0;
}

.logistics-point {
  width: 100%;
  max-width: 30ch;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 auto;
  color: #6b7280;
  font-size: 2em;
  text-align: left;
  transition: color 0.4s ease;
}

.logistics-segment.active .logistics-point {
  color: #111827;
}

@media (max-width: 640px) {
  .logistics-segment {
    min-height: 60vh;
  }
}

.main-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.main-form-description {
  font-weight: medium;
  font-size: 1.2em;
  text-align: center;
}

.main-form-input-container {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 500px;
}

.form-input-wrapper {
  position: relative;
}

.basic-form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #5b5b5b;
  padding: 1em 0 0.25em 0;
  font-size: 1em;
  background-color: transparent;
}

.basic-form-input:focus {
  border-bottom: 1px solid #000000;
  outline: none;
}

.basic-form-input::placeholder {
  color: transparent;
}

.form-label {
  position: absolute;
  top: 0.5em;
  left: 0;
  color: #CBBFAC;
  font-size: 1em;
  transition: all 0.3s ease;
  transform-origin: left top;
  pointer-events: none;
}

.form-input-wrapper .basic-form-input:focus+.form-label {
  top: -0.3em;
  color: #645f56;
  font-size: 0.75em;
}

.form-input-wrapper .basic-form-input.has-value {
  border-bottom: 1px solid #000000;
}

.form-input-wrapper .basic-form-input.has-value+.form-label,
.form-input-wrapper:has(.basic-form-input.has-value) .form-label {
  top: -0.3em;
  color: #645f56;
  font-size: 0.75em;
}

.basic-title {
  margin: 0 0 1em 0;
  font-weight: bold;
  font-size: 2.5em;
}

.first-section {
  position: relative;
  padding-top: 5em;
}

.manufacturers-content-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 100px;
  margin-top: 2.5em;
}

.manufacturers-content-sidebar {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  max-width: 30%;
}

.manufacturers-content-sidebar-title {
  margin: 0 0 0.2em 0;
  font-weight: bold;
  font-size: 1.2em;
}

.manufacturers-content-sidebar-list+.manufacturers-content-sidebar-title {
  margin-top: 1em;
}

.manufacturers-content-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.manufacturers-content-sidebar-list li {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  user-select: none;
}

.manufacturer-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 100px;
  width: 100%;
}

.manufacturer-card {
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 100%;
  max-width: 300px;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 1.5em 1em;
  color: #000;
  text-decoration: none;
}

.manufacturer-card-image {
  max-width: 90px;
}

.manufacturer-card-title {
  margin: 0;
  border-bottom: 1px solid #757575;
  padding-bottom: 0.66em;
  font-weight: bold;
  font-size: 1.5em;
}

.manufacturer-card-description {
  margin: 0;
}

.manufacturer-card .basic-button {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.manufacturers-content-sidebar-list input[type="checkbox"] {
  position: relative;
  display: inline-grid;
  place-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid #000;
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.manufacturers-content-sidebar-list input[type="checkbox"]::after {
  content: "";
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  opacity: 0;
  transform: translateY(-2px) rotate(45deg);
}

.manufacturers-content-sidebar-list input[type="checkbox"]:checked {
  border-color: #000;
  background-color: #000;
}

.manufacturers-content-sidebar-list input[type="checkbox"]:checked::after {
  opacity: 1;
}

.manufacturers-content-sidebar-list input[type="checkbox"]:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.manufacturers-content-sidebar-list label {
  padding-left: 8px;
  cursor: pointer;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 11;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.popup.active {
  display: flex;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.popup-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  border-radius: 10px;
  padding: 2.5em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  background-color: #F1E8DA;
}

.popup-close {
  position: absolute;
  top: 1em;
  right: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border: none;
  padding: 0;
  color: #000;
  font-size: 2em;
  line-height: 1;
  background: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.popup-close:hover {
  color: #E35E1E;
}

.popup-title {
  margin: 0 0 1em 0;
  font-weight: bold;
  font-size: 2em;
}

.popup-description {
  margin: 0 0 2em 0;
  font-size: 1em;
  line-height: 1.5;
}

.popup-content .main-form-input-container {
  margin-bottom: 2em;
}

.popup-content .basic-button {
  width: 100%;
}

/* Company page styles */
.company-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2em;
  margin-bottom: 2.5em;
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 2em;
}

.company-header-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 150px;
  height: auto;
}

.company-header-info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex: 1;
  align-items: flex-start;
  gap: 2em;
}

.company-header-title-wrapper {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 0.5em;
}

.company-header-title {
  margin: 0;
  font-weight: bold;
  font-size: 3em;
  line-height: 1.2;
}

.company-country {
  margin: 0;
  color: #5b5b5b;
  font-weight: bold;
  font-size: 1.5em;
}

.company-header-description {
  flex: 1;
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

.fixed-request-price-btn {
  position: fixed;
  right: 2em;
  bottom: 2em;
  z-index: 10;
}

.company-content {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
  width: 100%;
}

.company-content-main-title {
  margin: 0;
  font-weight: bold;
  font-size: 2.5em;
}

.company-products-section {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.company-products-category {
  margin: 0;
  font-weight: bold;
  font-size: 1.8em;
}

.company-table-wrapper {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  overflow: visible;
}

/* Table styles following Ilya Birman recommendations (bureau.ru) */
.company-content-table {
  width: 100%;
  min-width: 800px;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  /* background-color: #fff; */
}

@media (max-width: 1024px) {
  .company-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .company-table-wrapper::-webkit-scrollbar {
    height: 8px;
  }

  .company-table-wrapper::-webkit-scrollbar-track {
    border-radius: 4px;
    background: #f1f1f1;
  }

  .company-table-wrapper::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #645f56;
  }

  .company-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #5b5b5b;
  }
}

.company-content-table thead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
}

.company-content-table th {
  border-bottom: 2px solid #645f56;
  padding: 0.75em 1em;
  vertical-align: bottom;
  font-weight: bold;
  font-size: 1em;
  text-align: left;
  background-color: #F1E8DA;
}

.company-content-table td {
  padding: 0.75em 1em;
  vertical-align: top;
  /* border-bottom: 1px solid #d0d0d0; */
  font-size: 1em;
}

.company-content-table tbody tr:last-child td {
  border-bottom: none;
}

.text-right {
  text-align: right;
}

.profile-section {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2em;
  margin-top: 4em;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 30%;
  height: fit-content;
  border-radius: 0 10px 0 0;
  border-top: 1px solid #d0d0d0;
  border-right: 1px solid #d0d0d0;
  padding: 1em;
}

.profile-nickname {
  width: fit-content;
  margin: 0;
  color: #000;
  font-weight: bold;
  font-size: 2em;
  line-height: 1.1;
  text-decoration: none;
  text-decoration: none;
}

.profile-nickname:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: none;
  text-underline-offset: 3px;
}

.profile-edit-button {
  width: fit-content;
  margin: 0;
  border-bottom: 1px solid transparent;
  color: #3F8AC3;
  font-size: 0.8em;
  text-decoration: none;
}

.profile-edit-button:hover {
  border-bottom: 1px solid #3F8AC3;
}

.profile-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  margin-top: 1em;
}

.profile-links-list a {
  width: fit-content;
  border-bottom: 1px solid transparent;
  color: #000;
  font-size: 0.8em;
  text-decoration: none;
}

.profile-links-list a:hover {
  border-bottom: 1px solid #000;
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 3em;
}

.profile-content-section {
  width: 100%;
}

.profile-content-section-title {
  margin: 0 0 0.5em 0;
  font-weight: bold;
  font-size: 2em;
}

.order-card {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.25em;
  box-sizing: border-box;
  max-width: 350px;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 0.8em 1.25em;
  color: #000;
  text-decoration: none;
}

.order-card-title {
  margin: 0;
  font-weight: bold;
}

.order-card-text {
  margin: 0;
  font-size: 1em;
}

.order-card-items {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  font-weight: medium;
  font-size: 1em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-card-price {
  margin: 1em 0 0 0;
  font-weight: bold;
}

.order-card-status {
  border-radius: 7px;
  padding: 0.5em 1em;
  color: #000;
  background-color: #B2D3DD;
}

.offer-card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1em;
  color: #000;
  text-decoration: none;
}

.offer-card-image {
  width: 100%;
  max-width: 100px;
  height: auto;
}

.offer-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.offer-card-content p {
  margin: 0;
}

.profile-content-section-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1em;
}

.finished-orders-section::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 3em;
  background-color: #9A9A9A;
}

.order-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2em;
}

.order-details-title {
  margin: 0;
  font-weight: bold;
  font-size: 2em;
}

.order-details-list {
  margin: 1em 0 0 0;
  padding: 0;
  list-style: none;
}

.offers-title {
  margin: 0;
  font-weight: bold;
  font-size: 2em;
}

.offers-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 3em;
}

.offers-select {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: fit-content;
  margin: 2em 0 1.5em 0;
  border-radius: 10px;
  background-color: #D9D9D9;
}

.offers-select-button {
  border: none;
  border-radius: 10px;
  padding: 0.5em 2em;
  color: #000;
  font-size: 1em;
  background-color: #D9D9D9;
  cursor: pointer;
}

.offers-select-button.selected {
  color: #fff;
  background-color: #000;
  cursor: default;
}

.admin-offer-form {
  max-width: 480px;
}

/* Всегда поднятые лейблы в форме редактирования офферов */
.admin-offer-form .form-input-wrapper .basic-form-input {
  padding-top: 1.25em;
}

.admin-offer-form .form-input-wrapper .form-label {
  top: -0.3em;
  color: #645f56;
  font-size: 0.75em;
}

/* Стили для поля даты - label всегда вверху и не уменьшается */
.form-input-wrapper input[type="date"].basic-form-input {
  padding-top: 1.25em;
}

.form-input-wrapper input[type="date"].basic-form-input+.form-label,
.form-input-wrapper:has(input[type="date"].basic-form-input) .form-label {
  top: -0.3em;
  color: #645f56;
  font-size: 1em !important;
}

.prices-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 3em;
}

.user-suggestions-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5em;
  padding-top: 0.5em;
}

.user-suggestion-item {
  border: 1px solid #000;
  border-radius: 7px;
  padding: 0.5em 1em;
  font-size: 1em;
  background-color: transparent;
  cursor: pointer;
}

.user-suggestion-item:hover {
  border-color: #E35E1E;
  color: #E35E1E;
}

/* Footer styles */
.site-footer {
  margin-top: 125px;
  border-top: 1px solid #d0d0d0;
  padding: 3em 2%;
  background-color: #F1E8DA;
}

.footer-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3em;
  margin-bottom: 2em;
}

.footer-section {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.25em;
  min-width: 250px;
  max-width: 350px;
}

.footer-title {
  margin: 0 0 0.25em 0;
  font-weight: bold;
  font-size: 1.3em;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  margin-bottom: 0.75em;
}

.footer-contact-label {
  color: #5b5b5b;
  font-weight: medium;
  font-size: 0.9em;
}

.footer-contact-link {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: #E35E1E;
}

.footer-contact-text {
  color: #000;
  font-size: 1em;
}

.footer-text {
  margin: 0;
  color: #000;
  font-size: 1em;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #d0d0d0;
  padding-top: 2em;
  color: #5b5b5b;
  font-size: 0.9em;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2em;
  }

  .footer-section {
    max-width: 100%;
  }
}

/* Copy button styles */
.form-input-with-copy {
  position: relative;
}

.link {
  border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--linkUnderlineColor);
    color: var(--linkColor);
    text-decoration: none;
    transition: 0.5s ease;
    transition-property: border-bottom, border-color, background, color, fill;
}

.link:hover {
  transition: 0s;
  border-bottom-color: var(--linkHoverUnderlineColor);
  color: var(--linkHoverColor);
}

.copy-btn {
  position: absolute;
  right: 0.5em;
  bottom: 0.5em;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 4px;
  padding: 0;
  color: #5b5b5b;
  background: transparent;
  transition: color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.copy-btn:hover {
  color: #E35E1E;
  background-color: rgba(227, 94, 30, 0.1);
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-btn svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.form-input-wrapper.form-input-with-copy .basic-form-input {
  padding-right: 2.5em;
}

/* Generate password and suggest username button styles */
.form-input-with-generate,
.form-input-with-suggest {
  position: relative;
}

.generate-btn,
.suggest-btn {
  position: absolute;
  right: 0.5em;
  bottom: 0.5em;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 4px;
  padding: 0;
  color: #5b5b5b;
  background: transparent;
  transition: color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.generate-btn:hover,
.suggest-btn:hover {
  color: #E35E1E;
  background-color: rgba(227, 94, 30, 0.1);
}

.generate-btn:active,
.suggest-btn:active {
  transform: scale(0.95);
}

.generate-btn svg,
.suggest-btn svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.form-input-wrapper.form-input-with-generate .basic-form-input,
.form-input-wrapper.form-input-with-suggest .basic-form-input {
  padding-right: 2.5em;
}

/* Кнопка "Перейти в каталог" при прокрутке */
.scroll-to-catalog-btn {
  position: fixed;
  right: 2em;
  bottom: 2em;
  z-index: 1000;
  visibility: hidden;
  border-radius: 8px;
  padding: 0.5em 1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  color: #fff;
  font-weight: 500;
  font-size: 1em;
  text-decoration: none;
  background-color: #000;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
}

.scroll-to-catalog-btn.visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-catalog-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  background-color: #333;
}

@media (max-width: 768px) {
  .scroll-to-catalog-btn {
    right: 1.5em;
    bottom: 1.5em;
    padding: 0.75em 1.5em;
    font-size: 0.9em;
  }
}