
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: 46px;
    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;
}

.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-field-inline, чтобы не сдвигать соседние поля в ряду */
.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-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #EEEFF3;
    cursor: pointer;
    font-size: 14px;
    color: #08090C;
}

.calc-hazard-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #E30611;
    cursor: pointer;
}

.calc-hazard-checkbox-label {
    user-select: none;
}

.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: .3s;
    border-radius: 24px;
}

.calc-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .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: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 24px;
    align-items: start;
}

.calc-order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

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

.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;
}

.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%;
    margin-top: 24px;
    padding: 16px 24px;
}

.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;
}

@media (max-width: 768px) {
    .calc-order-grid {
        grid-template-columns: 1fr;
    }
}

.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;
    }
    .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;
    }
}

/* Calculator Custom Grid */
.calc-route-grid { display: grid; grid-template-columns: 1fr 1.2fr; 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 Modal/Block */
.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-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; }

/* Aligning contact labels with route labels */
.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; /* Убираем стандартный марджин, так как теперь используем gap */
    min-height: 40px; /* Чтобы разная длина текста не смещала поля ниже */
    display: flex;
    align-items: center;
}
.calc-route-contacts { margin-top: 0; }

/* Mobile Adaptation for "2. About cargo" section */
@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; /* Larger tap area */
        font-size: 16px; /* Better readability and prevent auto-zoom on iOS */
    }
    
    .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; /* Stack managers vertically */
        gap: 15px;
    }
    
    .manager-mini-card {
        padding: 15px;
    }
    
    .calc-cargo-toggle-wrap {
        justify-content: space-between;
        margin-bottom: 20px;
    }
    
    .calc-toggle-label {
        font-size: 15px;
    }
}

/* Additional Refinements for Mobile Calculator Usability */
@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 {
        padding: 12px 0;
        display: flex;
        align-items: center;
    }
    
    .calc-hazard-checkbox input {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }
    
    .manager-mini-photo {
        width: 70px;
        height: 70px;
    }
    
    .manager-mini-name {
        font-size: 13px;
    }
}

/* Fix for mobile inputs overflowing containers */
@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-form, .calc-order-prices {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Fix for Bitrix24 Widget on mobile — кнопка и чат слева */
@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;
    }
    
    /* Ensure the iframe inside doesn't overflow */
    .b24-widget-button-inner-container iframe,
    .bx-livechat-wrapper iframe {
        max-width: 100% !important;
    }
}

/* Further mobile adjustments for cargo section */
@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; /* Remove the huge gap between text and toggle */
        gap: 15px !important; /* Set a small, fixed gap instead */
        margin-bottom: 25px !important;
        margin-top: 20px !important;
    }
    
    .calc-cargo-toggle-wrap .calc-toggle-label {
        width: auto !important; /* Ensure label doesn't take full width */
        margin-right: 0 !important;
        font-size: 16px !important;
        font-weight: 600 !important;
    }
}
