html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bs-border-radius-xl: 12px;
  --grey-100: #eeeff3;
  --btn-red-active-bg: #e30611;
  --btn-red-hover-bg: #c1050e;
  --btn-red-pressed-bg: #a0040b;
  --btn-red-text: #fefefe;
  --btn-outline-active-border: #08090c;
  --btn-outline-active-text: #08090c;
  --btn-outline-hover-bg: #eeeff3;
  --btn-outline-hover-border: #656f94;
  --btn-outline-hover-text: #656f94;
  --btn-outline-pressed-bg: #d8dbe5;
  --btn-outline-pressed-border: #3f455c;
  --btn-outline-pressed-text: #3f455c;
  --rm-img-banner: url("images/для-банера_1.png");
  --rm-img-vector: url("images/Vector.png");
  --rm-img-variant2: url("images/rm-logistics-hero.png");
}

body {
  font-family: "Roboto";
  background: #f5f5f5;
  min-height: 100vh;
}

.slogan-button,
a.slogan-button {
  font-family: "Roboto";
  font-size: 16px;
  font-weight: 600;
  color: #fefefe;
  letter-spacing: 0.02em;
}
.login-button,
a.login-button,
.action-button.login-button {
  font-family: "Roboto";
  font-size: 16px;
  font-weight: 600;
  color: #fefefe;
}
.cargo-action-btn-red,
a.cargo-action-btn-red {
  font-family: "Roboto";
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}
.cargo-widget-btn {
  font-family: "Roboto";
  font-size: 15px;
  font-weight: 500;
  color: #08090c;
}
.main-header .nav-item,
.main-header .nav-item span {
  font-family: "Roboto";
  font-size: 15px;
  font-weight: 500;
  color: #08090c;
}

.page-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 16px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.page-content > section {
  width: 100%;
}

.page-content > section:last-child {
  margin-bottom: 0 !important;
}

.main-header {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  box-shadow: 0px 7px 17px #e2e8f0;
}

.main-header .header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.main-header .header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.main-header .header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 16px;
}

.main-header .header-bottom .user-actions {
  margin-left: auto;
}

.main-header .logo-block {
  display: flex;
  align-items: center;
}

.main-header .logo-img {
  height: 60px;
  width: auto;
}

.main-header .contacts-row {
  display: flex;
  align-items: center;
}

.main-header .contacts-row .contact-block-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.main-header .contacts-row .contact-block-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.main-header .contacts-row .contact-block-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.main-header .contacts-row .contact-block-label {
  font-size: 10px;
  color: #939bb6;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.main-header .contacts-row .contact-block-value {
  font-weight: 700;
  font-size: 16px;
  color: #08090c;
  text-decoration: none;
  line-height: 1.1;
}

.main-header .contacts-row .contact-block-divider {
  width: 1px;
  height: 40px;
  background: #d8dbe5;
}

.main-header .main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.main-header .nav-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  gap: 8px;
  text-decoration: none;
  color: #08090c;
  font-weight: 500;
  white-space: nowrap;
}

.main-header .nav-item:first-child {
  padding-left: 0;
}

.main-header .nav-item:hover {
  color: #e30611;
}

.main-header .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-button {
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 8px;
  height: 48px;
  background: #e30611;
  border-radius: 8px;
  color: #fefefe;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.login-button:hover,
.login-button:focus,
.login-button:active {
  text-decoration: none;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-column: 2;
  justify-self: end !important;
}

.action-button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none !important;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: relative;
  z-index: 10001;
}

.service-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.service-link:hover {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
}

.login-button {
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 12px;
  height: 48px;
  background: #e30611;
  border-radius: 12px;
  color: #fefefe;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.login-button:hover {
  background: #c1050e;
}

.login-arrow-img {
  filter: brightness(0) invert(1);
}

.user-profile-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.user-profile-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #354052;
  cursor: pointer;
  transition: background 0.2s;
}

.user-profile-trigger:hover {
  background: rgba(0, 0, 0, 0.06);
}

.user-profile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 160px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.15s ease,
    visibility 0.15s,
    transform 0.15s ease;
  z-index: 10002;
}

.user-profile-wrap:hover {
  padding-bottom: 120px;
  margin-bottom: -120px;
}

.user-profile-wrap:hover .user-profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-profile-dropdown-item {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.3;
  color: #354052;
  text-decoration: none;
  white-space: nowrap;
}

.user-profile-dropdown-item:hover {
  background: #eeeff3;
}

.user-profile-dropdown-item:first-child {
  border-radius: 12px 12px 0 0;
}

.user-profile-dropdown-item:last-child {
  border-radius: 0 0 12px 12px;
}

.slogan-container {
  display: block;
  background: var(--rm-img-banner) center/cover no-repeat;
  border-radius: 24px;
  width: 100%;

  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slogan-container .slogan-content {
  display: none;
}

.slogan-container.variant-3 {
  display: flex;
  width: 100%;
  padding: 48px;
  background: linear-gradient(135deg, #8b0000 0%, #a0040b 50%, #c1050e 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  align-items: center;
}

.slogan-container.variant-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--rm-img-vector) center/cover no-repeat;
  opacity: 0.5;
  z-index: 1;
}

.slogan-container.variant-3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -18px;

  width: 40%;
  max-width: 570px;
  aspect-ratio: 570 / 410;
  height: auto;
  background: var(--rm-img-variant2) center/contain no-repeat;
  z-index: 3;
  pointer-events: none;
}

.slogan-container.variant-3 .slogan-content {
  display: block;
  z-index: 2;
  margin-top: 50px;
  color: #fff;
  width: 80% !important;
}

.slogan-title {
  font-size: clamp(24px, 4vw, 48px) !important;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.slogan-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
}

.slogan-button {
  display: inline-block;
  padding: 16px 40px;
  background: #e30611;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
}

.slogan-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  max-width: 900px;
}

.slogan-features-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  color: #fff;
}

.slogan-features-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.slogan-features-icon svg {
  width: 100%;
  height: 100%;
  color: #fff;
}

.slogan-features-icon i {
  font-size: 2.5rem;
  color: #fff;
}

.slogan-features-icon svg.slogan-features-icon-svg {
  width: 100%;
  height: 100%;
  color: #fff;
}

.slogan-features-line1,
.slogan-features-line2 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.slogan-features-line1 {
  opacity: 0.95;
}

.slogan-features-line2 {
  opacity: 1;
}

.cargo-services-section {
  width: 100%;
  margin-bottom: 32px !important;
  scroll-margin-top: 160px;
}

.cargo-services-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cargo-services-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 40px;
  text-align: center;
}

.cargo-services-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.cargo-service-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cargo-service-title {
  font-size: 20px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 4px;
}

.cargo-search-wrapper {
  display: flex;
  width: 100%;
  background: #f8f9fa;
  border: 1px solid #d8dbe5;
  border-radius: 12px;
  overflow: hidden;
}

form.cargo-search-wrapper {
  margin: 0;
}

.cargo-input-new {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
}

.cargo-search-btn {
  min-width: 48px;
  padding: 0 16px;
  background: #e30611;
  color: #ffffff;
  font-family: "Roboto";
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.cargo-search-btn:hover {
  background: #c1050e;
  color: #ffffff;
}

.cargo-link-hint {
  font-size: 13px;
  color: #656f94;
  text-decoration: underline;
}

.cargo-calc-short-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.cargo-calc-field-wrap {
  position: relative;
  width: 100%;
}

.cargo-calc-short-form .cargo-calc-field {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: "Roboto";
  color: #08090c;
  background: #f8f9fa;
  border: 1px solid #d8dbe5;
  border-radius: 12px;
  outline: none;
  box-sizing: border-box;
}

.cargo-calc-short-form .cargo-calc-field::placeholder {
  color: #656f94;
}

.cargo-calc-short-form .cargo-calc-field:focus {
  border-color: #e30611;
  background: #fff;
}

.cargo-cities-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #ffffff;
  border: 1px solid #d8dbe5;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.cargo-cities-dropdown.is-open {
  display: block;
}

.cargo-cities-dropdown-item {
  padding: 12px 16px;
  font-size: 15px;
  font-family: "Roboto";
  color: #08090c;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cargo-cities-dropdown-item:hover,
.cargo-cities-dropdown-item.highlight {
  background: #f8f9fa;
}

.cargo-cities-dropdown-item.hidden {
  display: none;
}

.cargo-calc-short-form .cargo-action-btn-red.cargo-calc-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
}

.cargo-calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cargo-calc-inputs .calculator-input {
  background: #f8f9fa;
}

.cargo-action-btn-red {
  background: #e30611;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cargo-help-text {
  font-size: 14px;
  line-height: 1.5;
  color: #656f94;
}

.cargo-widget-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px;
  background: #f8f9fa;
  border: 1px solid #d8dbe5;
  border-radius: 100px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.cargo-widget-btn:hover {
  border-color: #e30611;
  background: #ffffff;
}

.widget-icon-red {
  width: 44px;
  height: 44px;
  background: #e30611;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cargo-widget-btn span {
  font-size: 15px;
  font-weight: 600;
  color: #08090c;
}

@media (max-width: 1100px) {
  .cargo-services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.services-section {
  display: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.service-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-card-icon svg,
.service-card:hover .service-card-icon i {
  color: #e30611;
}

.service-card-title {
  font-weight: 700;
  font-size: 18px;
  color: #08090c;
  text-align: left;
}

.service-card-icon {
  align-self: flex-end;
}

.service-card-icon img.service-card-img {
  width: 48px;
  height: 48px;
}

.service-card-icon svg {
  width: 48px;
  height: 48px;
  color: #08090c;
}

.service-card-icon i {
  font-size: 2.5rem;
  color: #08090c;
}

.calculator-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.calculator-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.calculator-subtitle {
  font-size: 16px;
  color: #939bb6;
  text-align: center;
  margin-bottom: 32px;
}

.calculator-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.calculator-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.calculator-city-input-wrapper {
  position: relative;
  width: 100%;
}

.calculator-city-input {
  cursor: pointer;
  background: #fff
    url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23939BB6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  padding-right: 40px;
}

.calculator-input {
  font-family: "Roboto";
  width: 100%;
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid #d8dbe5;
  border-radius: 8px;
  outline: none;
}

.calculator-input:focus {
  border-color: #e30611;
}

.calculator-city-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
}

.calculator-city-dropdown.active {
  display: block;
}

.calculator-city-item {
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 8px;
}

.calculator-city-item:hover {
  background: #f5f5f5;
}

.calculator-city-item.selected {
  background: #f0f0f0;
  color: #e30611;
  font-weight: 600;
}

.calculator-button {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 32px auto 0;
  padding: 16px 40px;
  background: #e30611;
  color: #fff;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.calculator-result {
  margin-top: 32px;
  padding: 24px;
  background: #f9f9f9;
  border-radius: 12px;
  text-align: center;
}

.calculator-result-value {
  font-size: 48px;
  font-weight: 700;
  color: #e30611;
}

.about-section {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 160px;
}

.about-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
  position: relative;
  padding-left: 20px;
}

.about-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 32px;
  background: #e30611;
  border-radius: 2px;
}

.about-text-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #3f455c;
  margin-bottom: 20px;
}

.about-cities-box {
  background: #f8f9fa;
  border-left: 4px solid #e30611;
  padding: 24px;
  border-radius: 4px 12px 12px 4px;
  margin-top: 32px;
}

.about-cities-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  color: #08090c;
}

.about-cities-list {
  font-size: 16px;
  line-height: 1.6;
  color: #656f94;
  margin: 0;
}

.testimonials-section {
  overflow: hidden;
}

.section-title-line {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.section-title-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 32px;
  background: #e30611;
  border-radius: 2px;
}

.testimonials-slider-wrapper {
  position: relative;
  padding: 30px 60px;
}

.testimonials-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 30px 5px;
  margin: -30px -5px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
  scroll-behavior: smooth;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grey-100);
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

.testimonial-item-v1 {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  scroll-snap-align: center;
}

.testimonial-content {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #eeeff3;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.testimonial-logo {
  height: 100px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.testimonial-logo img {
  height: 100px;
  object-fit: contain;
}

.testimonial-quote {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
  max-width: 900px;
}

.testimonial-author {
  font-size: 16px;
  color: #656f94;
  text-transform: uppercase;
}

.team-section {
  background: #f5f5f5;
  border-radius: 24px;
}

.team-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  border: 1px solid #eeeff3;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #e30611;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: #e30611;
  background: linear-gradient(135deg, #eeeff3 0%, #d8dbe5 100%);
}

.team-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #08090c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-contact-row {
  display: flex;
  gap: 8px;
}

.team-contact-link:hover {
  color: #e30611;
}

.team-contact-chat,
.team-contact-max {
  border: 1px solid #d8dbe5;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 6px 12px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #08090c;
  font-family: inherit;
  text-decoration: none;
}

.team-contact-chat:hover,
.team-contact-max:hover {
  background: #ffffff;
  border-color: #e30611;
  color: #e30611;
}

.team-contact-chat svg,
.team-contact-max img {
  flex-shrink: 0;
}

.team-contact-link svg {
  flex-shrink: 0;
}

.team-contact-tg,
.team-contact-wa {
  border: 1px solid #d8dbe5;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #4b5563;
  text-decoration: none;
}

.team-contact-tg:hover,
.team-contact-wa:hover {
  background: #ffffff;
  border-color: #e30611;
  color: #e30611;
}

.team-contact-tg .icon-tg {
  color: #229ed9;
}

.team-contact-wa .icon-wa {
  color: #25d366;
}

.team-contact-tg:hover .icon-tg,
.team-contact-wa:hover .icon-wa {
  color: #e30611;
}

.team-position {
  font-size: 14px;
  color: #e30611;
  font-weight: 600;
  margin-top: 4px;
}

.team-directions {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid #eeeff3;
}

.team-directions li {
  font-size: 12px;
  background: #f8f9fa;
  padding: 4px 10px;
  border-radius: 100px;
  color: #656f94;
}

.documents-section {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  scroll-margin-top: 160px;
}

.documents-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  margin-top: 32px;
}

.document-item-new {
  display: flex;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
  color: inherit;
}

.document-item-new:hover {
  opacity: 0.7;
}

.document-item-new,
.document-item-new strong,
.document-item-new span {
  color: #08090c;
}

.document-icon-word {
  flex-shrink: 0;
}

.document-text-new {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.document-text-new strong {
  display: block;
  font-size: 16px;
  color: #08090c;
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: 700;
}

.document-text-new span {
  font-size: 14px;
  color: #656f94;
}

@media (max-width: 768px) {
  .documents-grid-new {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.contacts-section {
  background: #f5f5f5;
  border-radius: 24px;
}

.contacts-section {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
}

.contacts-main-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 40px;
}

.contacts-grid-left {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contacts-info-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-new {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  height: fit-content;
}

.contact-icon-large {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-large svg {
  width: 32px;
  height: 32px;
}

.contact-info-new {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: fit-content;
}

.contact-label-new {
  font-size: 12px;
  color: #939bb6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-value-new {
  font-size: 16px;
  font-weight: 600;
  color: #08090c;
  line-height: 1.4;
}

.contact-info-new a.contact-value-new {
  color: #08090c;
  text-decoration: none;
}

.contact-info-new a.contact-value-new:hover {
  color: #e30611;
}

.contacts-map-small {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.map-card {
  background: #ffffff;
  width: 100%;
  height: 360px;
  border-radius: 8px;
  padding: 8px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .map-card {
    height: 360px;
    border-radius: 24px;
    padding: 8px;
  }
}
@media (min-width: 1024px) {
  .map-card {
    max-width: 660px;
    height: 360px;
    flex-shrink: 0;
  }
}
.map-container {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: none;
  display: block;
}
@media (min-width: 768px) {
  .map-container {
    border-radius: 16px;
  }
}

.contacts-form-right {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 24px;
}

.form-title-new {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: #08090c;
}

.feedback-form-new {
  display: flex;
  flex-direction: column;
}

.form-row-new {
  margin: 0;
}

.form-consent-new {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  color: #656f94;
  margin-top: 0;
}

.form-consent-new input {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-consent-new a {
  color: #e30611;
  text-decoration: none;
}

.form-submit-new {
  background: #e30611;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 10px;
}

.form-submit-new:hover {
  background: #c1050e;
}

.form-input-new {
  width: 100%;
  padding: 16px;
  border: 1px solid #d8dbe5;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.4;
  color: #333;
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

textarea.form-input-new {
  min-height: 60px;
  resize: vertical;
}

.form-input-new:focus {
  border-color: #e30611;
}

.form-consent-new {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #656f94;
  margin-top: 0;
}

.form-consent-new input {
  margin-top: 3px;
}

.form-consent-new a {
  color: #e30611;
  text-decoration: none;
}

.form-submit-new {
  background: #e30611;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 10px;
}

.form-submit-new:hover {
  background: #c1050e;
}

@media (max-width: 992px) {
  .contacts-main-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .delivery-conditions-inner {
    gap: 20px !important;
  }
}

@media (max-width: 576px) {
  .contacts-grid-left {
    flex-direction: column;
  }
}

@media (max-width: 1200px) {
  .slogan-container.variant-3 .slogan-content {
    margin-top: 2%;
  }
}

@media (max-width: 992px) {
  .slogan-title {
    font-size: 36px;
  }

  .contacts-wrapper {
    grid-template-columns: 1fr;
  }

  .slogan-features {
    display: none !important;
  }

  .slogan-subtitle {
    width: 500px !important;
    max-width: 100% !important;
  }

  .slogan-container.variant-3 .slogan-content {
    margin-top: 0% !important;
  }

  .slogan-container.variant-3::after {
    width: 30% !important;
    aspect-ratio: 570 / 410;
    height: auto;
  }

  .slogan-container.variant-3 .slogan-content {
    width: 90% !important;
  }

  .about-title,
  .section-title-line {
    font-size: 30px !important;
    margin-bottom: 24px;
  }

  .cargo-services-main-title {
    font-size: 30px !important;
    margin-bottom: 32px;
  }

  .testimonials-slider-wrapper {
    padding: 30px 40px;
  }

  .testimonial-logo,
  .testimonial-logo img {
    height: 80px;
  }

  .testimonial-quote {
    font-size: 20px;
  }

  .slogan-container.variant-3,
  .cargo-services-container,
  .calculator-container,
  .about-section,
  .testimonial-content,
  .documents-section,
  .contacts-section {
    padding: 32px !important;
  }
}

@media (max-width: 800px) {
  .slogan-container.variant-3::after {
    display: none !important;
  }

  .slogan-container.variant-3 .slogan-content {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .slogan-title {
    font-size: 28px;
  }

  .slogan-features {
    margin-top: 28px;
    gap: 0;
    justify-content: flex-start;
  }

  .slogan-features-item {
    min-width: 120px;
  }

  .slogan-features-icon {
    width: 48px;
    height: 48px;
  }

  .slogan-features-line1,
  .slogan-features-line2 {
    font-size: 11px;
  }

  .about-title,
  .section-title-line {
    font-size: 26px !important;
    margin-bottom: 20px;
  }

  .cargo-services-main-title {
    font-size: 24px !important;
    margin-bottom: 24px;
  }

  .testimonials-slider-wrapper {
    padding: 30px 40px;
  }

  .testimonial-logo,
  .testimonial-logo img {
    height: 60px;
  }

  .testimonial-quote {
    font-size: 18px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .slogan-container.variant-3,
  .cargo-services-container,
  .calculator-container,
  .about-section,
  .testimonial-content,
  .documents-section,
  .contacts-section {
    padding: 24px !important;
  }
}

.service-link:hover .services-popup {
  visibility: visible;
  opacity: 1;
}

.services-popup {
  position: absolute;
  top: 100%;
  right: 0;
  visibility: hidden;
  opacity: 0;
  z-index: 10002;
  width: 360px;
  padding-top: 15px;
  background: transparent;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  pointer-events: all;
}

.services-popup-content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 12px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-popup-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  background: #f8f9fa;
  transition: background 0.2s ease;
}

.service-popup-item:hover {
  background: #eeeff3;
}

.service-bubble {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-bubble svg {
  width: 100%;
  height: 100%;
}

.service-popup-item span {
  font-size: 14px;
  color: #08090c;
  font-weight: 600;
}

.service-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  background: #f8f9fa;
  transition: background 0.2s ease;
}

.service-item:hover {
  background: #eeeff3;
}

.service-image {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-text b {
  font-size: 14px;
  color: #08090c;
  font-weight: 600;
}

.service-text p {
  font-size: 12px;
  color: #656f94;
  margin: 0;
}

.service-item-arrow svg {
  opacity: 0.3;
}

.footer-new {
  background: #222222;
  color: #ffffff;
}

.footer-container-new {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-nav-new {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav-btn {
  padding: 10px 24px;
  background: #333333;
  color: #ffffff;
  text-decoration: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.footer-nav-btn:hover {
  background: #e30611;
}

.footer-contacts-new {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  font-size: 14px;
}
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.footer-contact-item:hover {
  opacity: 1;
  color: #ffffff;
}
.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}
.footer-contact-icon svg {
  width: 24px;
  height: 24px;
}
.footer-contact-hours {
  opacity: 0.85;
  cursor: default;
}

.footer-bottom-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-copyright-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-copyright {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-link-red {
  color: #e30611;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.footer-link-red:hover {
  opacity: 0.8;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.social-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-circle:hover {
  border-color: #e30611;
}

.social-circle svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.social-circle:hover svg {
  opacity: 1;
}

.calc-page-section {
  width: 100%;
  margin-bottom: 32px !important;
}

.calc-page-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.calc-page-title {
  font-size: 36px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 40px;
}

.calc-submit-success {
  text-align: center;
  padding: 24px 16px 40px;
}

.calc-submit-success__inner {
  max-width: 520px;
  margin: 0 auto;
}

.calc-submit-success__title {
  font-size: 28px;
  font-weight: 700;
  color: #e30611;
  margin: 0 0 16px;
  outline: none;
}

.calc-submit-success__text {
  font-size: 18px;
  line-height: 1.5;
  color: #333;
  margin: 0 0 28px;
}

.calc-submit-success__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #e30611;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}

.calc-submit-success__btn:hover {
  background: #c5050f;
}

.calc-submit-success__btn:focus-visible {
  outline: 2px solid #08090c;
  outline-offset: 2px;
}

.calc-form-block {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.calc-block-title {
  font-size: 30px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1.2;
}

.calc-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.calc-cargo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.calc-tabs-wrapper {
  margin-bottom: 32px;
}

.calc-tabs {
  display: flex;
  background: #08090c;
  padding: 6px;
  border-radius: 12px;
  width: fit-content;
}

.calc-tab-btn {
  padding: 10px 24px;
  color: #ffffff;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.calc-tab-btn.active {
  background: #3f455c;
}

.calc-tab-content {
  display: none;
}

.calc-tab-content.active {
  display: block;
}

.calc-row-label {
  font-size: 14px;
  font-weight: 600;
  color: #656f94;
  margin-bottom: 16px;
}

.calc-inline-fields {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.calc-input-unit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-input-unit input {
  width: 80px;
  padding: 12px;
  border: 1px solid #d8dbe5;
  border-radius: 8px;
  text-align: center;
}

.calc-input-unit span {
  font-size: 14px;
  color: #656f94;
}

.calc-sep {
  color: #d8dbe5;
  font-weight: 300;
}

.calc-inline-fields .calc-weight-inline input {
  width: 72px;
  min-width: 72px;
}

.calc-link-action {
  color: #e30611;
  font-size: 13px;
  text-decoration: underline;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
  display: inline-block;
}

.calc-pallet-hints {
  margin-top: 8px;
  font-size: 13px;
}

.calc-pallet-hints .calc-link-action {
  margin-top: 0;
}

.calc-pallet-sep {
  margin: 0 6px;
  color: #656f94;
}

.calc-pallet-toggle {
  margin-bottom: 20px;
}

.calc-cargo-mode {
  margin-top: 16px;
}

.calc-pallet-type-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.calc-pallet-type-btn {
  padding: 10px 20px;
  border: 1px solid #d8dbe5;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #656f94;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.calc-pallet-type-btn:hover {
  border-color: #e30611;
  color: #e30611;
}

.calc-pallet-type-btn.active {
  border-color: #e30611;
  background: #e30611;
  color: #fff;
}

.calc-cargo-pallet-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
  justify-content: flex-start;
}

.calc-cargo-field-col {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.calc-cargo-field-hint {
  font-size: 13px;
  margin-top: 8px;
  color: #e30611;
  display: none;
  line-height: 1.35;
}

.calc-cargo-field-hint.error {
  display: block;
}

.calc-field-inline label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #656f94;
  margin-bottom: 8px;
}

.calc-readonly-box {
  background: #eeeff3;
  padding: 12px 20px;
  border-radius: 8px;
  min-width: 100px;
  text-align: center;
}

.calc-readonly-value {
  font-weight: 700;
  color: #08090c;
}

.hazard-page-section {
  width: 100%;
  margin-bottom: 32px !important;
}

.hazard-page-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.back-to-calc {
  display: inline-block;
  color: #656f94;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.back-to-calc:hover {
  color: #e30611;
}

.hazard-page-title {
  font-size: 36px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 16px;
}

.hazard-page-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #3f455c;
  max-width: 800px;
  margin-bottom: 48px;
}

.hazard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.hazard-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.hazard-card:hover {
  border-color: #e30611;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.hazard-number {
  width: 48px;
  height: 48px;
  background: #e30611;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.hazard-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hazard-info p {
  font-size: 14px;
  color: #656f94;
  line-height: 1.5;
}

.hazard-footer-box {
  margin-top: 48px;
  padding: 32px;
  background: #08090c;
  color: #ffffff;
  border-radius: 16px;
}

.hazard-footer-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.hazard-footer-box p {
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.6;
}

.calc-hazard-divider {
  width: 100%;
  margin: 16px 0 0;
  border: 0;
  border-top: 1px solid #eeeff3;
}

.calc-hazard-checkbox-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
  font-size: 14px;
  color: #08090c;
}

.calc-hazard-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #e30611;
  cursor: pointer;
}

.calc-hazard-checkbox-label {
  user-select: none;
  cursor: pointer;
  line-height: 1.2;
}

.calc-hazard-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff5f5;
  border-radius: 12px;
  margin-top: 32px;
  border: 1px solid rgba(227, 6, 17, 0.1);
}

.calc-hazard-icon {
  font-size: 20px;
}

.calc-hazard-text {
  font-size: 14px;
  color: #08090c;
}

.calc-hazard-link {
  color: #e30611;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 4px;
}

.calc-cargo-extra {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.calc-hint-text {
  font-size: 13px;
  color: #08090c;
  margin-top: 8px;
}

.calc-hint-link {
  color: #0056b3;
  text-decoration: none;
  border-bottom: 1px dashed #0056b3;
  cursor: pointer;
  margin-left: 4px;
}

.calc-hint-link:hover {
  border-bottom-style: solid;
}

.calc-input-with-symbol {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input-with-symbol input {
  padding-right: 35px;
}

.calc-currency-symbol {
  position: absolute;
  right: 12px;
  color: #656f94;
  font-size: 16px;
}

.calc-route-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}

.calc-route-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calc-route-title {
  font-size: 24px;
  font-weight: 700;
  color: #08090c;
}

.calc-route-extra-wrap {
  margin-bottom: 24px;
}

.calc-route-extra-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: #656f94;
  cursor: pointer;
  transition: color 0.2s;
}

.calc-route-extra-toggle:hover {
  color: #e30611;
}

.calc-route-extra-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #d8dbe5;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
  color: #656f94;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.calc-route-extra-toggle:hover .calc-route-extra-plus {
  border-color: #e30611;
  color: #e30611;
}

.calc-route-extra-row {
  margin-top: 12px;
  margin-bottom: 0;
}

.calc-route-extra-row--hidden {
  display: none;
}

.calc-route-extra-row:not(.calc-route-extra-row--hidden) {
  display: block;
}

.calc-route-extra-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #08090c;
  margin-bottom: 8px;
}

.calc-sub-tabs {
  display: flex;
  background: #eeeff3;
  padding: 4px;
  border-radius: 10px;
}

.calc-sub-tab-btn {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #656f94;
  cursor: pointer;
  transition: all 0.2s;
}

.calc-sub-tab-btn.active {
  background: #ffffff;
  color: #08090c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calc-map-btn {
  width: 36px;
  height: 36px;
  background: #eeeff3;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.calc-map-btn:hover {
  background: #d8dbe5;
}

.calc-address-wrapper {
  position: relative;
}

.calc-address-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #656f94;
}

.calc-address-input {
  width: 100%;
  padding: 14px 16px 14px 40px;
  border: 1px solid #d8dbe5;
  border-radius: 10px;
  font-size: 15px;
}

.calc-address-input.calc-city-input {
  padding-left: 16px;
}

.calc-field-hint {
  font-size: 13px;
  margin-top: 8px;
  color: #e30611;
  display: none;
  line-height: 1.2;
}

.calc-field-hint.error {
  display: block;
  animation: shake 0.5s linear;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}

.calc-field-group .calc-field-hint {
  margin-top: 0;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
}

.calc-input-group .calc-field-hint {
  margin-top: 6px;
}

.calc-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.calc-toggle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  cursor: pointer;
}

.calc-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.calc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.calc-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d8dbe5;
  transition: 0.3s;
  border-radius: 24px;
}

.calc-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .calc-slider {
  background-color: #e30611;
}

input:checked + .calc-slider:before {
  transform: translateX(20px);
}

.calc-toggle-info {
  display: flex;
  flex-direction: column;
}

.calc-toggle-label {
  font-size: 15px;
  font-weight: 600;
  color: #08090c;
  line-height: 1.2;
}

.calc-toggle-desc {
  font-size: 13px;
  color: #656f94;
  margin-top: 4px;
}

.calc-toggle-hint {
  font-size: 13px;
  color: #656f94;
}

.calc-transport-note {
  font-size: 13px;
  color: #656f94;
  margin: 12px 0 0 0;
  padding-top: 12px;
  border-top: 1px solid #eeeff3;
}

.calc-agent-fields {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.calc-add-phone-btn {
  background: transparent;
  border: 1px solid #d8dbe5;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #08090c;
  cursor: pointer;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc-add-phone-btn:hover {
  border-color: #656f94;
}

.calc-toggle-small {
  margin-bottom: 0;
  align-items: center !important;
  gap: 8px !important;
}

.calc-toggle-small .calc-switch {
  width: 32px;
  height: 18px;
}

.calc-toggle-small .calc-slider:before {
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
}

.calc-toggle-small input:checked + .calc-slider:before {
  transform: translateX(14px);
}

.calc-toggle-small .calc-toggle-label {
  font-size: 13px;
  font-weight: 600;
  color: #08090c;
}

.calc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 9, 12, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.calc-modal-overlay.active {
  display: flex;
}

.calc-modal {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  color: #08090c;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.calc-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #f8f9fa;
  border: none;
  color: #656f94;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.calc-modal-close:hover {
  background: #eeeff3;
  color: #e30611;
}

.calc-modal-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #08090c;
  padding-left: 12px;
  border-left: 4px solid #e30611;
}

.calc-modal-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.calc-modal-row input[type="number"],
.calc-modal-row input[type="text"] {
  background: #f8f9fa;
  border: 1px solid #d8dbe5;
  border-radius: 10px;
  padding: 12px;
  width: 70px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.calc-modal-row label {
  font-size: 15px;
  font-weight: 500;
  color: #3f455c;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-modal-info-box {
  background: #fff5f5;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  margin: 32px 0;
  border: 1px solid rgba(227, 6, 17, 0.05);
}

.calc-modal-info-icon {
  background: #e30611;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.calc-modal-info-text {
  font-size: 14px;
  line-height: 1.5;
  color: #08090c;
}

.calc-modal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.calc-btn-outline,
.calc-btn-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 100%;
  box-sizing: border-box;
}

.calc-btn-outline {
  background: transparent;
  color: #656f94;
  border: 1px solid #d8dbe5;
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.calc-btn-outline:hover {
  border-color: #656f94;
  color: #08090c;
}

.calc-btn-brand {
  background: #e30611;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.calc-btn-brand:hover {
  background: #c1050e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 6, 17, 0.2);
}

.calc-modal-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-modal-option {
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.calc-modal-option:hover {
  border-color: #d8dbe5;
}

.calc-modal-option label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.calc-modal-option-title {
  font-weight: 700;
  font-size: 16px;
  color: #08090c;
}

.calc-modal-option-desc {
  font-size: 13px;
  color: #656f94;
  margin-left: 28px;
  margin-top: 4px;
}

.calc-modal textarea {
  width: 100%;
  background: #f8f9fa;
  border: 1px solid #d8dbe5;
  border-radius: 12px;
  padding: 16px;
  min-height: 120px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.calc-modal textarea:focus {
  border-color: #e30611;
}

.packaging-page-section {
  width: 100%;
  margin-bottom: 32px !important;
}

.packaging-page-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.packaging-page-title {
  font-size: 36px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 16px;
}

.packaging-page-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #3f455c;
  max-width: 800px;
  margin-bottom: 48px;
}

.packaging-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.packaging-card {
  padding: 32px;
  background: #f8f9fa;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.packaging-card:hover {
  border-color: #e30611;
  background: #ffffff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.packaging-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.packaging-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #e30611;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.packaging-list {
  margin-top: 20px;
  padding-left: 20px;
  list-style: none;
}

.packaging-list li {
  font-size: 14px;
  color: #656f94;
  margin-bottom: 10px;
  position: relative;
}

.packaging-list li::before {
  content: "✓";
  position: absolute;
  left: -20px;
  color: #e30611;
  font-weight: 700;
}

.packaging-notice-footer {
  margin-top: 48px;
  padding: 32px;
  background: #08090c;
  color: #ffffff;
  border-radius: 16px;
}

.calc-pack-notice {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 12px;
}

.calc-pack-notice p {
  font-size: 14px;
  color: #08090c;
  line-height: 1.5;
}

.calc-pack-link {
  color: #0056b3;
  text-decoration: underline;
  cursor: pointer;
}

.calc-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.calc-time-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}

.calc-date-badge {
  background: #ffffff;
  border: 1px solid #d8dbe5;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-date-badge:after {
  content: "✎";
  font-size: 12px;
  color: #656f94;
}

.calc-static-badge {
  background: #f8f9fa;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 600;
  color: #656f94;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.calc-timeline-item {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #08090c;
}

.calc-timeline-date {
  font-weight: 700;
  min-width: 60px;
}

.calc-final-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-top: 32px;
}

.calc-order-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.calc-form-block--order {
  background: transparent;
  padding: 0;
}

.calc-order-panel {
  margin-top: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(8, 9, 12, 0.06);
  position: relative;
}

.calc-order-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #e30611;
  border-radius: 16px 16px 0 0;
}

.calc-order-summary {
  padding: 28px 32px 24px;
  background: linear-gradient(165deg, #fff 0%, #f8f9fb 100%);
}

.calc-order-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 12px;
}

.calc-order-summary-label {
  font-size: 13px;
  font-weight: 600;
  color: #656f94;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc-order-summary-total {
  font-size: 36px;
  font-weight: 800;
  color: #e30611;
  line-height: 1;
  white-space: nowrap;
}

.calc-order-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: #08090c;
}

.calc-order-summary-row-label {
  color: #656f94;
}

.calc-order-summary-row-val {
  font-weight: 600;
  white-space: nowrap;
}

.calc-order-divider {
  height: 1px;
  background: #eeeff3;
}

.calc-order-fields {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-order-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-order-fields .calc-field-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #08090c;
  margin-bottom: 8px;
}

.calc-order-fields .calc-consents {
  margin-top: 0;
}

.calc-order-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 480px;
}

.calc-order-prices {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.calc-price-card {
  background: linear-gradient(165deg, #fff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 28px 32px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.calc-price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #e30611;
  border-radius: 16px 16px 0 0;
}

.calc-price-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #656f94;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.calc-price-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.calc-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.calc-price-label {
  font-size: 15px;
  color: #08090c;
}

.calc-price-val {
  font-size: 15px;
  font-weight: 600;
  color: #08090c;
  white-space: nowrap;
}

.calc-price-val span {
  margin-right: 2px;
}

.calc-price-row.calc-price-total {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 2px solid #e2e8f0;
}

.calc-price-row.calc-price-total .calc-price-label {
  font-size: 17px;
  font-weight: 700;
}

.calc-price-row.calc-price-total .calc-price-val {
  font-size: 22px;
  font-weight: 800;
  color: #e30611;
}

.calc-order-submit {
  width: 100%;
  max-width: 360px;
  margin-top: 4px;
  padding: 16px 32px;
}

@media (max-width: 768px) {
  .calc-order-summary {
    padding: 24px 20px 20px;
  }

  .calc-order-summary-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .calc-order-summary-total {
    font-size: 32px;
  }

  .calc-order-fields {
    padding: 24px 20px 28px;
  }

  .calc-order-fields-row {
    grid-template-columns: 1fr;
  }

  .calc-order-submit {
    max-width: none;
  }
}

.calc-order-tariff-warning {
  margin-top: 14px;
  padding-bottom: 5px;
  font-size: 13px;
  line-height: 1.35;
  color: #e30611;
  border-bottom: 2px solid #e30611;
}

.calc-order-tariff-warning[hidden] {
  display: none !important;
}

.calc-price-breakdown {
  width: 100%;
}

.calc-price-breakdown.calc-price-simple .price-item {
  padding: 8px 0;
}

.calc-price-breakdown.calc-price-simple .summary-total-row {
  border-top: 1px solid #e2e8f0;
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
}

.calc-price-breakdown.calc-price-simple .summary-total-row .val {
  font-size: 18px;
  color: #e30611;
}

.price-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eeeff3;
  font-size: 14px;
  color: #08090c;
}

.price-item .val {
  font-weight: 700;
}

.calc-promo-row {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

.calc-promo-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #d8dbe5;
  border-radius: 8px;
}

.calc-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid #08090c;
}

.summary-date {
  font-weight: 700;
  font-size: 18px;
}

.summary-total {
  font-size: 32px;
  font-weight: 800;
  color: #e30611;
}

.calc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.calc-consent-block {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-checkbox-text {
  font-size: 13px;
  line-height: 1.4;
  color: #3f455c;
}

.calc-checkbox-text a {
  color: #0056b3;
  text-decoration: underline;
}

.calc-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
}

.calc-link-draft {
  color: #656f94;
  text-decoration: underline;
  font-size: 15px;
  cursor: pointer;
}

.calc-calendar {
  margin-bottom: 24px;
}

.calendar-month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 15px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar-day-label {
  font-size: 11px;
  color: #656f94;
  text-transform: uppercase;
  padding-bottom: 8px;
}

.calendar-day {
  padding: 8px 0;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-day:hover:not(.disabled) {
  background: #f8f9fa;
}

.calendar-day.active {
  background: #ebb04d !important;
  color: #000 !important;
  font-weight: 700;
}

.calendar-day.today {
  background: #eeeff3;
  font-weight: 700;
}

.calendar-day.disabled {
  opacity: 0.2;
  cursor: default;
}

.time-mode-tabs {
  display: flex;
  background: #f8f9fa;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.time-mode-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.time-mode-btn.active {
  background: #08090c;
  color: #ffffff;
}

.time-exact-notice {
  font-size: 13px;
  color: #e30611;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.time-range-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.time-range-inputs input {
  width: 80px;
  padding: 12px;
  border: 1px solid #d8dbe5;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.cookie-alert {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  gap: 40px;
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  background: #1b2d3b;
  z-index: 10000;
  box-sizing: border-box;
}

.cookie-icon {
  width: 67px;
  height: 65px;
  flex-shrink: 0;
}

.cookie-text-wrapper {
  max-width: 800px;
}

.cookie-text {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #ffffff;
  margin: 0;
}

.cookie-link {
  color: #e30611;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-link:hover {
  color: #ff4d56;
}

.cookie-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 32px;
  background: #e30611;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.cookie-button:hover {
  background: #c1050e;
}

.cookie-button-text {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .cookie-alert {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
    text-align: left;
    align-items: center;
  }

  .cookie-icon {
    width: 36px;
    height: 36px;
  }

  .cookie-text-wrapper {
    flex: 1;
    min-width: 200px;
  }

  .cookie-text {
    font-size: 12px;
    line-height: 1.3;
  }

  .cookie-button {
    width: 100%;
    margin-top: 4px;
    padding: 8px 16px;
    font-size: 14px;
  }
}

.page {
  min-height: calc(100vh - 430px);
}

.legal-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-error-msg {
  color: #e30611;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.calc-consent-item.invalid label {
  font-weight: 600;
}

.calc-consent-item.invalid .calc-field-hint {
  display: none !important;
}

.form-consent-new.invalid label {
  font-weight: 400 !important;
}

.checkbox-error-blink {
  animation: checkbox-blink 0.4s ease-in-out 3 !important;
  outline: 2px solid #e30611 !important;
  outline-offset: 2px !important;
  border-radius: 2px !important;
}

@keyframes checkbox-blink {
  0%,
  100% {
    outline-color: transparent;
    background-color: transparent;
  }
  50% {
    outline-color: #e30611;
    background-color: rgba(227, 6, 17, 0.1);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

.legal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0px 7px 17px rgba(226, 232, 240, 0.55);
}

.legal-h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #08090c;
  margin-bottom: 8px;
}

.legal-subtitle {
  font-size: 14px;
  color: #656f94;
  margin-bottom: 16px;
}

.legal-text {
  font-size: 14px;
  line-height: 1.7;
  color: #1b2d3b;
}

.legal-text h2 {
  font-size: 18px;
  font-weight: 800;
  color: #08090c;
  margin: 18px 0 10px;
}

.legal-text h3 {
  font-size: 15px;
  font-weight: 800;
  color: #08090c;
  margin: 14px 0 8px;
}

.legal-text p {
  margin: 10px 0;
}

.legal-text ul {
  margin: 10px 0 10px 18px;
}

.legal-text li {
  margin: 6px 0;
}

.legal-text a {
  color: #e30611;
}

.legal-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f6f8fc;
  border: 1px solid #e2e8f0;
}

.legal-doc-title {
  font-weight: 800;
  color: #08090c;
  font-size: 14px;
  line-height: 1.3;
}

.legal-doc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: #e30611;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.legal-doc-btn:hover {
  background: #c1050e;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 16px;
    border-radius: 14px;
  }
  .legal-h1 {
    font-size: 22px;
  }
  .legal-docs {
    grid-template-columns: 1fr;
  }
}

.chat-page-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.chat-content-container {
  padding: 20px 16px 48px;
  max-width: 1440px;
  margin: 0 auto;
}

.chat-manager-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  width: 100%;
}

.chat-manager-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1000px;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.chat-manager-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #e30611;
  flex-shrink: 0;
}

.chat-manager-info {
  flex: 1;
}

.chat-manager-name {
  font-size: 32px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 12px;
  line-height: 1.2;
}

.chat-manager-position {
  font-size: 20px;
  color: #e30611;
  font-weight: 600;
  margin-bottom: 25px;
  padding-left: 5px;
}

.chat-manager-contacts {
  color: #656f94;
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.chat-manager-contacts a {
  color: #08090c;
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
}

.chat-manager-contacts a:hover {
  color: #e30611;
}

.chat-button-container {
  text-align: center;
  margin: 30px 0;
  width: 100%;
}

.chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 45px;
  background: #e30611;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(227, 6, 17, 0.35);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  gap: 12px;
}

.chat-button:hover {
  background: #c1050e;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(227, 6, 17, 0.4);
}

.chat-container-wrapper {
  width: 100%;
  max-width: 1000px;
  min-height: 600px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 30px auto;
  position: relative;
  border: 1px solid #eeeff3;
}

.chat-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  z-index: 100;
}

.chat-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #e30611;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.specialists-card-chat {
  width: 100%;
  max-width: 1000px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #eeeff3;
  padding: 32px 40px;
  margin: 40px auto;
}

.specialists-title-chat {
  font-size: 24px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.specialists-title-chat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: #e30611;
  border-radius: 2px;
}

.specialists-list-chat {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px 30px;
}

.specialist-item-chat {
  font-size: 14px;
  color: #354052;
  line-height: 1.5;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.specialist-item-chat:last-child {
  border-bottom: none;
}

.specialist-name-chat {
  font-weight: 700;
  text-transform: uppercase;
  color: #08090c;
  margin-bottom: 4px;
}

.specialist-role-chat {
  color: #656f94;
  font-size: 13px;
}

@media (max-width: 768px) {
  .chat-manager-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 25px;
  }

  .chat-manager-photo {
    width: 120px;
    height: 120px;
  }

  .chat-manager-name {
    font-size: 24px;
  }

  .chat-manager-position {
    font-size: 18px;
  }

  .specialists-list-chat {
    grid-template-columns: 1fr;
  }
}

.page-oauth-setup {
  font-family: sans-serif;
  max-width: 640px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.page-oauth-setup h1 {
  font-size: 1.25rem;
}

.page-oauth-setup .url-box {
  background: #f5f5f5;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  word-break: break-all;
  font-family: monospace;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.page-oauth-setup .text-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  white-space: pre-wrap;
  font-size: 0.85rem;
  margin: 1rem 0;
}

.page-oauth-setup .step {
  margin: 1rem 0;
}

.page-oauth-setup a {
  color: #c00;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field-group label {
  font-size: 14px;
  font-weight: 600;
  color: #656f94;
}

.calc-input-styled {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8dbe5;
  border-radius: 10px;
  font-size: 16px;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.calc-input-styled:focus {
  border-color: #e30611;
}

.calc-dimensions-row {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.calc-small-label {
  font-size: 14px;
  font-weight: 600;
  color: #656f94;
  margin-bottom: 12px;
}

.dimensions-inputs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dimensions-inputs input {
  width: 100px;
  padding: 10px;
  border: 1px solid #d8dbe5;
  border-radius: 8px;
  text-align: center;
}

.calc-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.calc-checkbox-wrapper:hover {
  border-color: #d8dbe5;
}

.calc-checkbox-label {
  font-size: 15px;
  color: #08090c;
}

.calc-result-panel {
  background: #08090c;
  color: #ffffff;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.calc-result-label {
  font-size: 16px;
  opacity: 0.7;
  margin-bottom: 8px;
  display: block;
}

.calc-result-value {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
}

.calc-result-hint {
  font-size: 13px;
  opacity: 0.5;
  margin-top: 12px;
  max-width: 400px;
}

.calc-main-submit {
  background: #e30611;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 20px 48px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.calc-main-submit:hover {
  background: #c1050e;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .calc-grid-row,
  .calc-cargo-grid,
  .calc-services-list {
    grid-template-columns: 1fr;
  }

  .calc-result-panel {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .footer-bottom-new {
    flex-direction: column;
    align-items: flex-start;
  }
}

.tracking-page-section {
  width: 100%;
  margin-bottom: 32px !important;
}

.tracking-page-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tracking-page-title {
  font-size: 32px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 12px;
  text-align: center;
}

.tracking-page-subtitle {
  font-size: 16px;
  color: #656f94;
  text-align: center;
  margin-bottom: 40px;
}

.tracking-notice {
  background: #fff5f5;
  border-left: 4px solid #e30611;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tracking-notice-icon {
  font-size: 20px;
  line-height: 1;
}

.tracking-notice-text {
  font-size: 14px;
  color: #08090c;
  line-height: 1.4;
}

.tracking-notice-text strong {
  color: #e30611;
  font-weight: 700;
}

.tracking-widget-wrapper {
  background: var(--grey-100, #eeeff3);
  border-radius: 8px;
  flex: 1 1 437px;
  min-width: 256px;
  padding: 24px;
  min-height: 720px;
  display: flex;
  align-items: stretch;
}

#tracking-widget-container {
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

#tracking-widget-container iframe {
  width: 100%;
  min-height: 720px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .tracking-page-container {
    padding: 20px;
  }

  .tracking-page-title {
    font-size: 24px;
  }

  .tracking-page-subtitle {
    font-size: 14px;
  }

  .tracking-widget-wrapper {
    padding: 16px;
  }
}

.desktop-show {
  display: flex !important;
}

.mobile-show {
  display: none !important;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.2s;
}

.burger-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #08090c;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 9, 12, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 10005;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90%;
  height: 100%;
  background: #ffffff;
  z-index: 10006;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-drawer.active {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eeeff3;
  flex-shrink: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eeeff3;
  flex-shrink: 0;
}

.mobile-logo {
  display: block;
  width: auto;
  height: 33px;
  object-fit: contain;
}

.close-menu-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f8f9fa;
  border-radius: 50%;
  font-size: 24px;
  color: #656f94;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.close-menu-btn:hover {
  background: #e30611;
  color: #fff;
  transform: rotate(90deg);
}

.mobile-menu-title {
  font-size: 20px;
  font-weight: 700;
  color: #08090c;
}

.mobile-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f8f9fa;
  border-radius: 50%;
  font-size: 24px;
  color: #656f94;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-close-btn:hover {
  background: #e30611;
  color: #fff;
  transform: rotate(90deg);
}

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  color: #08090c;
  transition:
    background 0.2s,
    color 0.2s;
}

.mobile-nav-item:hover {
  background: #eeeff3;
}

.mobile-nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mobile-nav-icon img {
  width: 100%;
  height: 100%;
}

.mobile-nav-text {
  font-size: 16px;
  font-weight: 600;
}

.mobile-menu-divider {
  height: 1px;
  background: #eeeff3;
  width: 100%;
  flex-shrink: 0;
}

.mobile-section-title {
  font-size: 13px;
  color: #939bb6;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.mobile-services-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 12px;
}

.mobile-service-bubble {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #eeeff3;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-service-bubble:hover {
  border-color: #e30611;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.mobile-service-bubble img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-service-img-wrap {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-service-img-wrap svg {
  width: 100%;
  height: 100%;
}

.mobile-service-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-service-name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.2;
}

.mobile-service-desc {
  font-size: 12px;
  font-weight: 400;
  color: #354052;
  line-height: 1.2;
}

.mobile-contacts-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.mobile-contact-icon {
  width: 40px;
  height: 40px;
  background: #fff5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e30611;
}

.mobile-contact-icon svg {
  width: 20px;
  height: 20px;
}

.mobile-contact-text {
  font-size: 15px;
  font-weight: 600;
  color: #08090c;
}

.mobile-menu-footer {
  padding-top: 12px;
}

.mobile-menu-btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: #e30611;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-menu-btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: #eeeff3;
  color: #354052;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-actions-mobile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-login-btn,
.mobile-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eeeff3;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 0 !important;
  }

  .user-actions {
    gap: 6px;
  }

  .delivery-conditions-block,
  .calc-page-container {
    padding: 30px !important;
  }
}

@media (max-width: 1077px) {
  .main-header .nav-item {
    padding-left: 0;
  }
}

@media (max-width: 992px) {
  .desktop-show {
    display: none !important;
  }

  .mobile-show {
    display: flex !important;
  }

  .main-header .contacts-row {
    display: none !important;
  }

  body.page-chat .main-header .header-bottom.desktop-show {
    display: flex !important;
  }

  body.page-chat .main-header .mobile-controls.mobile-show {
    display: none !important;
  }

  .header-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .header-top {
    min-height: 60px;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .logo-container {
    height: 60px;
  }

  .logo-image {
    height: 40px;
  }

  .page-content {
    gap: 32px;
  }
  .calc-page-container,
  .delivery-conditions-block {
    padding: 20px !important;
  }
  .delivery-conditions-inner {
    flex-direction: column;
    width: 100%;
  }
  .delivery-conditions-form-col {
    min-width: 0;
    width: 100% !important;
  }

  .delivery-info-wrapper {
    min-width: 0;
    width: 100%;
    padding-top: 24px;
  }

  .delivery-conditions-form {
    max-width: 100%;
    flex-wrap: wrap;
  }
  .delivery-conditions-input-wrapper {
    max-width: 100%;
  }
  .delivery-info-card {
    width: 100%;
    max-width: 100%;
  }

  .delivery-conditions-block .calc-autocomplete-list {
    max-height: min(60vh, 320px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  }
  body.quick-list-open {
    overflow: hidden;
  }
  .calc-page-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .calc-block-title {
    font-size: 22px;
    white-space: normal;
  }
  .calc-route-title {
    font-size: 18px;
  }
  .calc-address-input,
  .calc-input-styled,
  .calc-toggle-label {
    font-size: 13px;
  }
  .calc-transport-note {
    margin: 0px;
  }
}

@media (max-width: 560px) {
  .mobile-menu-drawer {
    width: 100%;
    max-width: 100%;
  }
  .calc-consents {
    margin-top: 0px !important;
  }
  .calc-order-grid {
    gap: 20px;
  }
  .slogan-text-container {
    margin-top: 50px;
    margin-bottom: 30px;
  }
  .slogan-title {
    margin-bottom: 10px;
  }
  .slogan-button {
    margin-bottom: 20px;
  }
  .testimonial-logo {
    margin-bottom: 0px !important;
  }

  .testimonial-quote {
    font-size: 14px !important;
    margin-bottom: 10px !important;
  }
  .calc-route-grid {
    display: flow;
  }
  .calc-toggle-group {
    margin-top: 0px;
  }
  .calc-route-col {
    margin-top: 15px;
  }

  .calc-form-block {
    padding: 16px;
  }
  .delivery-info-card .card-logo {
    width: 75px;
    height: 75px;
    min-width: 75px;
    min-height: 75px;
    padding: 6px;
  }
  .delivery-conditions-form-col {
    min-width: 0 !important;
  }
  .delivery-conditions-form {
    max-width: 100%;
    flex-wrap: wrap;
  }
  .delivery-info-card .card-logo {
    width: 75px !important;
    height: 75px !important;
    min-width: 75px !important;
    min-height: 75px !important;
  }
  .delivery-info-card {
    padding: 8px !important;
  }
  .delivery-conditions-input-wrapper {
    max-width: 100%;
  }
  .testimonial-author {
    font-size: 12px !important;
  }

  .footer-container-new {
    padding: 16px 16px;
    gap: 16px;
  }

  .slogan-title {
    font-size: 22px !important;
  }

  .slogan-subtitle {
    font-size: 14px !important;
  }

  .slogan-container.variant-3 .slogan-content {
    width: 100% !important;
  }

  .cargo-services-grid {
    gap: 20px !important;
  }

  .cargo-service-col {
    gap: 15px !important;
  }

  .slogan-button {
    width: 100%;
    text-align: center;
    display: block;
  }

  .about-title,
  .section-title-line {
    font-size: 22px !important;
    margin-bottom: 16px;
  }

  .cargo-services-main-title {
    font-size: 22px !important;
    margin-bottom: 20px;
  }

  .testimonials-slider-wrapper {
    padding: 30px 30px;
  }

  .testimonial-quote {
    font-size: 16px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .cargo-service-title,
  .about-text-content p {
    font-size: 16px !important;
  }

  .slogan-container.variant-3,
  .cargo-services-container,
  .calculator-container,
  .about-section,
  .testimonial-content,
  .documents-section,
  .contacts-section,
  .contacts-form-right {
    padding: 20px 16px !important;
  }

  .logo-image {
    height: 32px;
  }
}

.slogan-features-mobile {
  display: none;
}

@media (max-width: 992px) {
  .slogan-features-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
    width: 100%;
  }

  .slogan-features-item-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  }

  .slogan-features-icon-mobile {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e30611;
    flex-shrink: 0;
  }

  .slogan-features-icon-mobile svg,
  .slogan-features-icon-mobile i {
    width: auto;
    height: auto;
    font-size: 24px;
    color: inherit;
    line-height: 1;
  }

  .slogan-features-icon-mobile svg {
    width: 24px;
    height: 24px;
  }

  .slogan-features-icon-mobile svg path {
    fill: currentColor;
  }

  .slogan-features-text-mobile {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .slogan-features-text-mobile span {
    font-size: 13px;
    font-weight: 700;
    color: #08090c;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .slogan-features-text-mobile span:last-child {
    color: #656f94;
  }
}

@media (max-width: 600px) {
  .slogan-features-mobile {
    grid-template-columns: 1fr;
  }
}

[data-b24-crm-button-block-button] {
  transform: scale(0.75);
  transform-origin: top right;
}
[data-b24-crm-button-block-button] * {
  box-sizing: border-box;
}
@media (max-width: 767px) {
  [data-b24-crm-button-block-button] {
    transform: scale(0.65);
    transform-origin: bottom left;
  }

  .b24-widget-button-wrapper,
  .b24-widget-button-position-bottom-right,
  .b24-widget-button-position-bottom-left,
  [data-b24-crm-button-block] {
    left: 12px !important;
    right: auto !important;
  }

  .b24-widget-mount .b24-widget-content,
  .b24-widget-mount .b24-widget-content-opened,
  .b24-widget-mount .b24-widget-body,
  div.b24-window-mount .b24-window-content,
  .bx-livechat-wrapper,
  div[id^="bx-livechat-wrapper"] {
    left: 12px !important;
    right: auto !important;
  }
  .b24-widget-button-inner-container,
  .bx-touch .b24-widget-button-inner-container {
    transform: scale(0.55) !important;
    transform-origin: center center;
  }
  .b24-widget-button-inner-mask {
    transform: scale(0.55) !important;
    transform-origin: center center;
  }
}

@media (min-width: 768px) {
  .b24-widget-mount .b24-widget-content,
  .b24-widget-mount .b24-widget-content-opened,
  .b24-widget-mount .b24-widget-body,
  div.b24-window-mount .b24-window-content,
  .bx-livechat-wrapper {
    max-width: 420px !important;
    width: 420px !important;
    max-height: 700px !important;
    height: 80vh !important;
    bottom: 90px !important;
    top: auto !important;
    position: fixed !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  }

  body.page-main .b24-widget-button-wrapper {
    left: 20px !important;
    right: auto !important;
  }

  body.page-main .b24-widget-mount .b24-widget-content,
  body.page-main .b24-widget-mount .b24-widget-content-opened,
  body.page-main .b24-window-mount .b24-window-content,
  body.page-main .bx-livechat-wrapper {
    left: 20px !important;
    right: auto !important;
  }

  body.page-chat .b24-widget-button-wrapper {
    right: 20px !important;
    left: auto !important;
  }

  body.page-chat .b24-widget-mount .b24-widget-content,
  body.page-chat .b24-widget-mount .b24-widget-content-opened,
  body.page-chat .b24-window-mount .b24-window-content,
  body.page-chat .bx-livechat-wrapper {
    right: 20px !important;
    left: auto !important;
  }
}

.cabinet-layout {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  gap: 2rem;
  min-height: 60vh;
}
.cabinet-layout-single {
  max-width: 1440px;
}
.cabinet-layout-single .cabinet-content {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.cabinet-section-orders {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.cabinet-empty-state {
  padding: 3rem 1rem;
  text-align: center;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px dashed #e2e8f0;
  color: #64748b;
}
.cabinet-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.cabinet-section-orders .cabinet-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #354052;
  margin: 0;
}
.cabinet-btn-calc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #e30611;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.cabinet-btn-calc:hover {
  background: #c1050e;
  color: #fff;
}
.cabinet-logout-block {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.cabinet-btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #e30611;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.cabinet-btn-logout:hover {
  background: #c1050e;
  color: #fff;
}
.cabinet-btn-logout svg {
  flex-shrink: 0;
}
.cabinet-sidebar {
  flex-shrink: 0;
  width: 240px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem 0;
  height: fit-content;
  position: sticky;
  top: 1.5rem;
}
.cabinet-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cabinet-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #354052;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.cabinet-nav-item:hover {
  background: #f1f5f9;
  color: #08090c;
}
.cabinet-nav-item.is-active {
  background: rgba(227, 6, 17, 0.08);
  color: #e30611;
}
.cabinet-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.cabinet-nav-icon svg {
  width: 22px;
  height: 22px;
}
.cabinet-nav-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 8px 16px;
}
.cabinet-nav-logout {
  color: #e30611;
  margin-top: 4px;
}
.cabinet-nav-logout:hover {
  background: rgba(227, 6, 17, 0.08);
  color: #c1050e;
}
.cabinet-content {
  flex: 1;
  min-width: 0;
}
.cabinet-content-inner {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem 2rem;
}
.cabinet-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #354052;
  margin: 0 0 1.25rem;
}
.cabinet-section-desc {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0 0 1.5rem;
}
.cabinet-user-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cabinet-user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e30611 0%, #a0040b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cabinet-user-avatar-initials {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.cabinet-user-info {
  flex: 1;
  min-width: 200px;
}
.cabinet-user-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #354052;
  margin: 0 0 0.5rem;
}
.cabinet-user-contacts {
  font-size: 0.9375rem;
  color: #64748b;
  margin-bottom: 1rem;
}
.cabinet-user-contact-sep {
  margin: 0 0.5rem;
  color: #cbd5e1;
}
.cabinet-btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #354052;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.cabinet-btn-edit:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.cabinet-btn-edit svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cabinet-layout {
    flex-direction: column;
    padding: 1rem 0.75rem 3rem;
  }
  .cabinet-layout-single {
    padding: 0.75rem 12px 2.5rem;
    max-width: 100%;
  }
  .cabinet-layout-single .cabinet-content {
    padding: 0 0;
    max-width: 100%;
  }
  .cabinet-layout-single .cabinet-content-inner {
    padding: 1rem 12px;
    border-radius: 8px;
  }
  .cabinet-sidebar {
    width: 100%;
    position: static;
    display: flex;
    padding: 0.5rem 0;
  }
  .cabinet-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }
  .cabinet-nav-item {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 8px;
  }
  .cabinet-nav-divider {
    display: none;
  }
  .cabinet-nav-logout {
    margin-left: auto;
  }
  .cabinet-content-inner {
    padding: 1.25rem 1.25rem;
  }
  .cabinet-user-card {
    text-align: center;
  }
  .cabinet-page-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  .cabinet-section-orders {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }
  .cabinet-section-head {
    gap: 0.5rem;
    margin-bottom: 0.25rem;
  }
  .cabinet-section-orders .cabinet-section-title {
    font-size: 1.125rem;
  }
  .cabinet-btn-calc {
    padding: 8px 14px;
    font-size: 13px;
  }
  .cabinet-order-card {
    padding: 1rem 12px;
    border-radius: 8px;
  }
  .cabinet-logout-block {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
  .cabinet-btn-logout {
    padding: 10px 20px;
    font-size: 14px;
  }
  .cabinet-user-avatar {
    width: 64px;
    height: 64px;
  }
  .cabinet-user-avatar-initials {
    font-size: 1.375rem;
  }
  .cabinet-user-name {
    font-size: 1.125rem;
  }
}

.cabinet-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
.cabinet-header {
  margin-bottom: 2rem;
}
.cabinet-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #354052;
  margin: 0 0 0.25rem;
}
.cabinet-greeting {
  font-size: 1rem;
  color: #5c6b7b;
  margin: 0;
}
.cabinet-section {
  margin-bottom: 2rem;
}
.cabinet-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #354052;
  margin: 0 0 1rem;
}
.cabinet-order-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}
.cabinet-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.cabinet-order-id {
  font-weight: 700;
  color: #08090c;
}

.cabinet-order-tracking-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e30611;
  text-decoration: none;
  padding: 6px 12px;
  background: rgba(227, 6, 17, 0.05);
  border-radius: 6px;
  transition: all 0.2s;
}

.cabinet-order-tracking-link:hover {
  background: #e30611;
  color: #ffffff;
}
.cabinet-order-date {
  font-size: 0.875rem;
  color: #5c6b7b;
}
.cabinet-order-route {
  font-size: 0.9375rem;
  color: #5c6b7b;
  margin-bottom: 0.5rem;
}
.cabinet-order-status-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e30611;
  background: rgba(227, 6, 17, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}
.cabinet-order-status-badge.badge-lead {
  color: #656f94;
  background: #f1f5f9;
}
.cabinet-order-card.is-lead {
  border-left: 4px solid #e2e8f0;
}
.cabinet-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cabinet-timeline-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  position: relative;
}
.cabinet-timeline-item:last-child {
  padding-bottom: 0;
}
.cabinet-timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}
.cabinet-timeline-item.is-done:not(:last-child)::before {
  background: #e30611;
}
.cabinet-timeline-marker {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e2e8f0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}
.cabinet-timeline-item.is-done .cabinet-timeline-marker {
  background: #e30611;
}
.cabinet-timeline-item.is-current .cabinet-timeline-marker {
  background: #e30611;
  box-shadow: 0 0 0 3px rgba(227, 6, 17, 0.2);
}
.cabinet-timeline-item.is-error .cabinet-timeline-marker {
  background: #ff4d4f;
}
.cabinet-timeline-item.is-error .cabinet-timeline-label {
  color: #ff4d4f;
}
.cabinet-timeline-content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.cabinet-timeline-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #354052;
}
.cabinet-timeline-item:not(.is-done) .cabinet-timeline-label {
  color: #94a3b8;
}
.cabinet-timeline-date {
  font-size: 0.8125rem;
  color: #94a3b8;
}
.cabinet-note {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin: 0;
}

.profile-dropdown-container {
  position: relative;
  padding: 5px 0;
}

.profile-trigger-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #354052;
}

.profile-trigger-btn:hover {
  background: #f1f5f9;
}

.profile-trigger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.delivery-conditions-section {
  width: 100%;
  margin-bottom: 0;
}

.delivery-conditions-note {
  margin-top: 24px;
  max-width: 100%;
  background: #cfcfcf;
  border-radius: 24px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #111827;
  font-size: 13px;
  line-height: 1.5;
}

.delivery-conditions-note-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.delivery-conditions-note-text {
  flex: 1;
}

.tc-preview-section {
  margin-bottom: 40px;
}

.tc-preview-title {
  font-size: 20px;
  font-weight: 700;
  color: #08090c;
  margin: 0 0 20px 0;
}

.tc-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.tc-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f8f9fa;
  border: 1px solid #dde1e9;
  border-radius: 16px;
  padding: 20px;
}

.tc-card-logo {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
  min-width: 75px;
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fb;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
}

.tc-card-logo svg,
.tc-card-logo img,
.tc-logo-img {
  width: 75px;
  height: 75px;
  max-width: 75px;
  max-height: 75px;
  object-fit: contain;
  flex-shrink: 0;
}

.tc-logo-rm {
  color: #e30611;
}
.tc-logo-dpd {
  color: #e30611;
  font-size: 18px;
}
.tc-logo-sdek {
  color: #ff6600;
}
.tc-logo-dellin {
  color: #0066cc;
}
.tc-logo-pecom {
  color: #009688;
}

.tc-card-text {
  flex: 1;
  min-width: 0;
}

.tc-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #08090c;
  margin-bottom: 6px;
}

.tc-card-desc {
  font-size: 14px;
  color: #656f94;
  line-height: 1.5;
}

.delivery-conditions-block {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  overflow-x: hidden;
}

.delivery-conditions-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.delivery-conditions-form-col {
  flex: 1;
  min-width: 520px;
}

.delivery-conditions-title {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 120%;
  color: #08090c;
  margin-bottom: 10px;
}

.delivery-conditions-subtitle {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #656f94;
  margin-bottom: 24px;
}

.delivery-conditions-form {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  max-width: 650px;
  min-width: 0;
}

.delivery-conditions-input-wrapper {
  position: relative;
  flex: 1;
  max-width: 512px;
  min-width: 0;
}

.delivery-conditions-input {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 14px 12px;
  gap: 10px;
  width: 100%;
  height: 52px;
  background: #ffffff;
  border: 1px solid #d8dbe5;
  border-radius: 8px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #656f94;
  transition: border-color 0.2s;
}

.delivery-conditions-input:focus {
  outline: none;
  border-color: #e30611;
}

.delivery-conditions-input::placeholder {
  color: #656f94;
}

.delivery-conditions-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 16px 0px 20px;
  gap: 4px;
  width: 120px;
  min-width: 120px;
  height: 52px;
  background: #e30611;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  flex: none;
  order: 1;
  flex-grow: 0;
}

.delivery-conditions-btn:hover {
  background: #c1050e;
}

.delivery-conditions-btn span {
  width: 53px;
  height: 20px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #fefefe;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.delivery-conditions-icon-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: 24px;
  width: 18px;
  height: 18px;
  flex: none;
  order: 1;
  flex-grow: 0;
}

.delivery-conditions-icon-box svg {
  width: 12px;
  height: 11px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.calc-page-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-autocomplete-list {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 0px;
  position: fixed;
  top: var(--quick-list-top, 0);
  left: var(--quick-list-left, 0);
  width: var(--quick-list-width, 300px);
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border: 1px solid #d8dbe5;
  border-radius: 8px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 99999;
  margin: 0;
}

.calc-autocomplete-item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 12px;
  width: 100%;
  min-width: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.calc-autocomplete-item:hover {
  background: #f8f9fa;
}

.calc-autocomplete-item .item-title {
  width: 100%;
  min-width: 0;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calc-autocomplete-item .item-subtitle {
  width: 100%;
  min-width: 0;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #656f94;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-conditions-form.is-error {
  min-height: 70px;
}

.delivery-conditions-input-wrapper.is-error .delivery-conditions-input {
  background: #ffefef;
  border: 1px solid #ffbfbf;
  color: #08090c;
}

.error-text-message {
  display: none;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 20px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #e30611;
  margin-top: 2px;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.delivery-conditions-input-wrapper.is-error .error-text-message {
  display: flex;
  padding-left: 12px;
}

.delivery-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  max-width: 640px;
  width: 100%;
  padding-top: 40px;
  flex: 1;
  min-width: 520px;
}

.delivery-info-wrapper .card-close {
  position: absolute;
  width: 28px;
  height: 28px;
  right: 0;
  top: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eeeff3;
  border-radius: 6px;
  background: #ffffff;
  padding: 0;
  transition: all 0.2s ease;
  z-index: 10;
}

.delivery-info-wrapper .card-close:hover {
  background: #f1f3f5;
  border-color: #d8dbe5;
}

.delivery-info-wrapper .card-close svg {
  width: 12px;
  height: 12px;
  stroke: #08090c;
  stroke-width: 1.5;
}

.delivery-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-info-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px;
  gap: 12px;
  flex: 1;
  min-width: 0;
  min-height: 142px;
  background: #f8f9fa;
  border-radius: 16px;
  position: relative;
  box-sizing: border-box;
}

.delivery-info-card .card-logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px;
  width: 75px;
  height: 75px;
  min-width: 75px;
  min-height: 75px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 8px;
  flex-shrink: 0;
}

.delivery-info-card .card-logo svg,
.delivery-info-card .card-logo img {
  width: 75px;
  height: 75px;
  max-width: 75px;
  max-height: 75px;
  object-fit: contain;
  flex-shrink: 0;
}

.delivery-info-card .card-context {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px;
  gap: 12px;
  flex-grow: 1;
}

.delivery-info-card .card-title {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
}

.delivery-info-card .card-description {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  color: #000000;
}

.delivery-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.delivery-option-item {
  background: #fff;
  border: 1px solid #dde1e9;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.delivery-option-item:hover {
  border-color: #b0b7c6;
}

.option-content {
  flex: 1;
}

.option-header {
  display: block;
  margin-bottom: 4px;
}

.option-name {
  font-weight: 600;
  color: #08090c;
  font-size: 16px;
  line-height: 1.4;
}

.option-price {
  font-weight: 600;
  color: #08090c;
  font-size: 16px;
  margin-left: 4px;
}

.option-details {
  display: block;
  font-size: 14px;
  color: #656f94;
  font-weight: 400;
}

.option-radio {
  width: 24px;
  height: 24px;
  border: 1px solid #dde1e9;
  border-radius: 50%;
  margin-left: 16px;
  flex-shrink: 0;
}

.delivery-info-card .card-close {
  position: absolute;
  width: 28px;
  height: 28px;
  right: 10px;
  top: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eeeff3;
  border-radius: 6px;
  background: #ffffff;
  padding: 0;
  transition: all 0.2s ease;
  z-index: 10;
}

.delivery-info-card .card-close:hover {
  background: #f1f3f5;
  border-color: #d8dbe5;
}

.delivery-info-card .card-close svg {
  width: 12px;
  height: 12px;
  stroke: #08090c;
  stroke-width: 1.5;
}

@media (max-width: 1300px) {
  .delivery-conditions-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

.profile-trigger-icon svg {
  width: 24px;
  height: 24px;
}

.profile-trigger-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  width: 240px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.1),
    0 4px 10px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 1000;
  border: 1px solid #eeeff3;
}

.profile-dropdown-container:hover .profile-dropdown-menu,
.profile-dropdown-container.is-open .profile-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-dropdown-header {
  padding: 12px 16px;
}

.profile-user-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #354052;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-dropdown-divider {
  height: 1px;
  background: #eeeff3;
  margin: 6px 0;
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #354052;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.profile-dropdown-item:hover {
  background: #f8fafc;
}

.profile-dropdown-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.profile-dropdown-item-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.profile-dropdown-item.logout {
  color: #e30611;
}

.profile-dropdown-item.logout .profile-dropdown-item-icon,
.profile-dropdown-item.logout .profile-dropdown-item-icon svg {
  color: #e30611;
}

.user-profile-block {
  display: flex;
  align-items: center;
}

.footer-new {
  background-color: #000000;
  color: #ffffff;
  padding: 40px 0;
  font-family: "Roboto";
}

.footer-nav-new {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
}

.footer-main-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
}

.footer-col-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-phone-link {
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  color: #ffffff;
  text-decoration: none;
}

.footer-work-hours {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
}

.footer-address {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.footer-address-link {
  text-decoration: none;
}

.footer-address-link:hover .footer-address {
  text-decoration: underline;
}

.footer-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.footer-email-link {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.footer-logos {
  display: flex;
  gap: 30px;
  align-items: center;
}

.footer-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 40px;
  width: 278px;
}

.footer-projects-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 15px;
  align-self: stretch;
}

.footer-projects-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  color: #ffffff;
}

.footer-projects-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 8px;
  align-self: stretch;
}

.footer-project-item {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #ffffff;
  text-decoration: none;
}

.footer-legal-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 4px;
  width: auto;
}

.footer-legal-link {
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .footer-main-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
  }
  .footer-col-left,
  .footer-col-center,
  .footer-col-right {
    align-items: center;
    gap: 20px;
  }
  .footer-nav-new {
    justify-content: center;
  }
}

.service-popup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}
.service-popup-item:hover {
  background: #f5f5f5;
}
.service-info {
  display: flex;
  flex-direction: column;
}
.service-name {
  font-weight: 600;
  font-size: 14px;
  color: #000;
}
.service-desc {
  font-size: 12px !important;
  color: #354052 !important;
  font-weight: 400 !important;
}

.calc-consents {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.calc-consent-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.calc-consent-item label {
  font-size: 13px;
  line-height: 1.4;
  color: #354052;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.calc-consent-item label a {
  color: #e30611;
  text-decoration: none;
}

.calc-consent-item label a:hover {
  text-decoration: underline;
}

.delivery-conditions-input-wrapper {
  position: relative;
  overflow: visible;
}

.calc-autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 9999999 !important;
  background: #ffffff !important;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  max-height: 400px;
  overflow-y: auto;
  margin-top: 2px;
  display: none;
  flex-direction: column;
}

.calc-autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.calc-autocomplete-item:last-child {
  border-bottom: none;
}

.calc-autocomplete-item:hover,
.calc-autocomplete-item.is-active {
  background: #f8f8f8;
}

.calc-autocomplete-item .item-title {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 2px;
}

.calc-autocomplete-item .item-subtitle {
  font-size: 12px;
  color: #999;
}

#quick_to_city_wrapper.is-loading::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #e62f2a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 992px) {
  .delivery-conditions-inner {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .delivery-conditions-form-col {
    width: 100% !important;
    margin-bottom: 20px;
  }
  .delivery-info-wrapper {
    min-width: 0 !important;
    width: 100% !important;
    padding-top: 24px;
  }
  .delivery-conditions-form {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .delivery-conditions-input-wrapper {
    margin-right: 0 !important;
    margin-bottom: 12px;
    width: 100% !important;
    max-width: 100% !important;
  }
  .delivery-conditions-input {
    width: 100% !important;
  }
  .delivery-conditions-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .delivery-info-card {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

.calc-route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 24px;
}
.calc-route-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  background: transparent;
  border: none;
}
.calc-route-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.calc-transport-note {
  font-size: 12px;
  color: #656f94;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.calc-transport-note:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #e30611;
  border-radius: 50%;
}
.calc-pallet-type-btn {
  padding: 10px 20px;
  border: 1px solid #eef0f4;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.calc-pallet-type-btn.active {
  background: #e30611;
  color: #fff;
  border-color: #e30611;
}
.calc-cargo-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}
.calc-cargo-toggle-wrap .calc-toggle-label {
  font-weight: 600;
  color: #08090c;
  font-size: 16px;
}
.calc-cargo-mode {
  padding: 0;
  background: transparent;
  border: none;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .calc-route-grid {
    grid-template-columns: 1fr;
  }
  .calc-route-contacts {
    grid-template-columns: 1fr;
  }
}

.manager-selection-block {
  display: none;
  margin-top: 20px;
  padding: 25px;
  background: #f8f9fb;
  border-radius: 16px;
  border: 1px solid #eef0f4;
}
.manager-selection-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #08090c;
}
.manager-selection-empty {
  margin: 0;
  font-size: 14px;
  color: #656f94;
  line-height: 1.5;
}
.manager-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.manager-mini-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.manager-mini-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid #e30611;
}
.manager-mini-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #08090c;
  text-transform: uppercase;
}
.manager-mini-pos {
  font-size: 12px;
  color: #656f94;
  margin-bottom: 15px;
}
.manager-chat-btn {
  background: #e30611;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}
.manager-chat-btn:hover {
  background: #c4050e;
}

.calc-route-grid {
  align-items: start;
}
.calc-route-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calc-route-main .calc-block-title,
.calc-route-info .calc-block-title {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.calc-route-contacts {
  margin-top: 0;
}

@media (max-width: 768px) {
  .calc-cargo-pallet-fields {
    flex-direction: column;
    gap: 20px;
  }

  .calc-cargo-field-col {
    width: 100%;
    flex: 1 1 auto;
  }

  .calc-field-inline {
    width: 100%;
  }

  .calc-field-inline label {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .calc-input-unit {
    width: 100%;
    justify-content: space-between;
  }

  .calc-input-unit input {
    flex: 1;
    width: auto;
    padding: 14px;
    font-size: 16px;
  }

  .calc-pallet-type-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .calc-pallet-type-btn {
    padding: 12px 10px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
  }

  .manager-cards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .manager-mini-card {
    padding: 15px;
  }

  .calc-cargo-toggle-wrap {
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .calc-toggle-label {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .calc-input-styled {
    font-size: 16px;
    padding: 14px;
  }

  .calc-hint-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .calc-hint-link {
    padding: 4px 8px;
    background: #f0f2f7;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
  }

  .calc-hazard-checkbox-wrap {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 12px;
    padding-top: 0;
  }

  .calc-hazard-divider {
    margin-top: 12px;
  }

  .calc-hazard-checkbox-wrap input {
    width: 20px;
    height: 20px;
    margin: 0;
  }

  .manager-mini-photo {
    width: 70px;
    height: 70px;
  }

  .manager-mini-name {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .calc-input-styled,
  .calc-phone-input,
  .calc-address-input {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  .calc-order-panel,
  .calc-order-fields {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .bx-livechat-wrapper,
  div[id^="bx-livechat-wrapper"],
  .b24-widget-button-wrapper,
  .b24-widget-button-position-bottom-right,
  .b24-widget-button-position-bottom-left {
    max-width: 90vw !important;
    left: 12px !important;
    right: auto !important;
  }

  .b24-widget-mount .b24-widget-content,
  .b24-widget-mount .b24-widget-content-opened,
  div.b24-window-mount .b24-window-content {
    left: 12px !important;
    right: auto !important;
  }

  .bx-livechat-mobile-window,
  .bx-livechat-wrapper-mobile {
    width: calc(100vw - 24px) !important;
    max-width: 350px !important;
    margin: 0 !important;
    left: 12px !important;
    right: auto !important;
  }

  .b24-widget-button-inner-container iframe,
  .bx-livechat-wrapper iframe {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .calc-cargo-extra {
    display: block !important;
    width: 100% !important;
    margin-top: 20px !important;
    padding-top: 0 !important;
    border-top: none !important;
  }

  .calc-main-submit {
    font-size: 14px;
  }
  .calc-cargo-extra .calc-field-group,
  .calc-cargo-extra input {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .calc-hint-text {
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
  }

  .calc-hint-link {
    padding: 4px 10px;
    background: #f0f2f7;
    border-radius: 6px;
    color: #0056b3;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #d8dbe5;
  }

  .calc-cargo-toggle-wrap {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    margin-bottom: 25px !important;
    margin-top: 20px !important;
  }

  .calc-cargo-toggle-wrap .calc-toggle-label {
    width: auto !important;
    margin-right: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
  }
}
