/* Основные стили */

/* Шрифты согласно макету Figma */
body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    background-color: #FFFCF8;
}

h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 50px;
}

h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 40px;
}

h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 24px;
}

p,
.text {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
}

.menu-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 12px;
}

.menu {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.small-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* Header стили */
.header {
    background-color: #FFFCF8;
}

.header-top {
    background-color: #FFFCF8;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #333333;
    line-height: 1.21;
}

.header-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    line-height: 1.366;
}

.header-location {
    color: #333333;
}

.header-location i {
    color: #264138;
    font-size: 16px;
}

.menu-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #333333;
    line-height: 1.366;
}

.header-phone-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.header-phone-number {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    line-height: 1;
}

.header-phone-link {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #333333;
    line-height: 1.366;
    display: flex;
    align-items: center;
}

.header-phone-link:hover {
    color: #D2AC69;
}

.header-phone-link i {
    color: #264138;
    font-size: 16px;
}

.btn-personal-account {
    background: linear-gradient(131deg, #D2AC69 0%, #8F6B35 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 6px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 45px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-personal-account:hover {
    opacity: 0.9;
}

.btn-personal-account-icon {
    background: linear-gradient(131deg, #D2AC69 0%, #8F6B35 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 45px;
    cursor: pointer;
    transition: opacity 0.3s;
    text-decoration: none;
}

.btn-personal-account-icon:hover {
    opacity: 0.9;
}

.btn-mobile-toggle {
    background: transparent;
    border: 2px solid #ABC197;
    color: #333333;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.btn-mobile-toggle:hover {
    background-color: #ABC197;
    color: #FFFFFF;
}

/* Navigation bar */
.header-nav {
    background-color: #ABC197;
    min-height: 48px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}

.header-nav .container {
    position: static;
}

.header-nav .row {
    min-height: 48px;
}

.nav-menu-link {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    line-height: 1.366;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.nav-menu-link:hover {
    color: #D2AC69;
}

.nav-menu-link i {
    font-size: 18px;
}

/* Mobile menu */
#mobileMenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #FFFCF8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu {
    background-color: #FFFCF8;
    padding: 20px;
}

.mobile-info-block {
    padding-bottom: 20px;
    border-bottom: 1px solid #ABC197;
    margin-bottom: 20px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    list-style: none;
    border-bottom: 1px solid #ABC197;
}

.mobile-nav-link {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    display: block;
    padding: 15px 0;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: #D2AC69;
}

.mobile-nav-link i {
    font-size: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 173px);
    /* Вычитаем высоту header (top section + nav) */
    background-image: url('../img/6_3266.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 130px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
}

.btn-hero-primary {
    background: linear-gradient(131deg, #D2AC69 0%, #8F6B35 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    width: 278px;
    height: 45px;
    cursor: pointer;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-hero-primary:hover {
    opacity: 0.9;
    color: #FFFFFF;
}

.btn-hero-icon {
    background-color: #ABC197;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
    font-size: 18px;
    padding: 10px;
}

.btn-hero-icon:hover {
    opacity: 0.9;
}

.hero-icon-img {
    width: 20px;
    height: auto;
    display: block;
}

/* Стили для секции fasads */
.fasads {
    background-color: #FFFCF8;
    padding: 60px 0;
}

.fasads .section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #264138;
    margin-bottom: 60px;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 4px 5px 66px rgba(103, 91, 73, 0.17);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit !important;
}

.service-card-link:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.service-card-link h3,
.service-card-link p {
    color: #333333 !important;
    text-decoration: none !important;
}

.service-image {
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
}

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

.fasads h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #333333;
    margin-bottom: 20px;
}

.fasads p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #333333;
    opacity: 0.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.fasads .d-flex {
    align-items: center;
    justify-content: flex-end;
    width: 161px;
}

.fasads .d-flex p {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.366;
    color: #D2AC69;
    margin-bottom: 0;
    opacity: 1;
}

.fasads .d-flex i,
.fasads .d-flex .arrow-icon {
    font-size: 14px;
    width: 30px;
    height: 14px;
}

.catalog .d-flex {
    align-items: center;
    justify-content: flex-end;
    width: 161px;
}

.catalog .d-flex p {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.366;
    color: #D2AC69;
    margin-bottom: 0;
    opacity: 1;
}

.catalog .d-flex i,
.catalog .d-flex .arrow-icon {
    font-size: 14px;
    width: 30px;
    height: 14px;
}

.service-card-more-info {
    margin-left: auto;
    cursor: pointer;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.366;
}

.breadcrumb-item a {
    color: #333333;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #ABC197;
}

/* Catalog Tabs */
.catalog-tabs {
    border-bottom: 1px solid rgba(108, 82, 62, 0.5);
    justify-content: space-around;
}

.catalog-tabs .nav-link {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.366;
    color: #525252;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    padding: 15px 30px;
    background-color: transparent;
    position: relative;
}

.catalog-tabs .nav-link.active {
    color: #D2AC69;
    background-color: transparent;
}

.catalog-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-color: #D2AC69;
}

/* Load More Button */
.btn-load-more {
    background: linear-gradient(131deg, #D2AC69 0%, #8F6B37 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #F2F2F2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: linear-gradient(131deg, #C49A5F 0%, #7A5A2F 100%);
    color: #FFFFFF;
}

/* Catalog Section */
.catalog {
    background-color: #FFFCF8;
    padding: 40px 0;
}

.catalog .section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #264138;

}

.catalog-tabs .nav-link.active::after {

    width: 117%;

}

/* Why Us Section */
.whyus {
    background-color: #FFFCF8;
    padding: 60px 0;
}

.whyus .section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #264138;
    margin-bottom: 0;
}

.whyus h4.section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #333333;
    opacity: 0.9;
    margin-bottom: 20px;
}

.whyus p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #333333;
    opacity: 0.8;
    margin-bottom: 20px;
}

.whyus .d-flex {
    align-items: center;
    gap: 10px;
}

.whyus .d-flex p {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.366;
    color: #D2AC69;
    margin-bottom: 0;
    opacity: 1;
}

.whyus .d-flex i {
    color: #D2AC69;
    font-size: 14px;
}

.about-us {
    background-color: #FFFCF8;
    padding: 60px 0;
}

.about-us .section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #264138;
    margin-bottom: 40px;
    text-align: center;
}

.about-content {
    margin: 0 auto;
}

.about-video {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-video iframe {
    border-radius: 20px;
    width: 100%;
    height: 400px;
}

.about-text p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    opacity: 0.8;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-video-preview {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

.about-video-preview .preview-img {
    display: block;
    width: 100%;
    height: 435px;
    object-fit: cover;
}

.preview-black-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.preview-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}

.preview-play-btn .play-icon {
    width: 24px;
    height: 24px;
    z-index: 1;
}

/* Our Clients Section */
.our-clients {
    background-color: #FFFCF8;
    padding: 60px 0;
}

.our-clients .section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #264138;
    margin-bottom: 40px;
}

.our-clients img {
    width: 150px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Ensure headings in content align left as in the design */
.section-title.text-start,
.about-heading {
    text-align: left;
    font-family: 'Manrope', sans-serif;
    color: #264138;
}



/* Contact Form Section */
.contact-form {
    background-color: #FFFCF8;
    padding: 60px 0;
}

.form-container {
    background-color: #ABC197;
    border-radius: 20px 0px 0px 20px;
    padding: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1280px;
    margin: 0 auto;
}

.form-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1;
}

.form-description {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    line-height: 1.4;
    margin-bottom: 40px;
    max-width: 620px;
}

.form-download-hint {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.form-download-link {
    color: #000000;
    text-decoration: underline;
}

.form-download-link:hover {
    color: #000000;
}

.btn-download-form {
    display: inline-block;
    background: linear-gradient(65deg, #D2AC69 0%, #8F6B35 98%);
    color: #FFFFFF;
    border-radius: 10px;
    padding: 10px 24px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-bottom: 20px;
}

.btn-download-form:hover {
    opacity: 0.9;
    color: #FFFFFF;
}

.contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 648px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.form-group input {
    width: 100%;
    height: 48px;
    padding: 16px;
    border: 1px solid #333333;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: #333333;
    background-color: transparent;
    transition: border-color 0.3s;
}

.form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 16px;
    border: 1px solid #333333;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: #333333;
    background-color: transparent;
    resize: vertical;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D2AC69;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s;
    margin-bottom: 10px;
}

.file-label:hover {
    opacity: 0.9;
}

.file-label i {
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 1px solid #333333;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    margin-bottom: 0;
    cursor: pointer;
}

.btn-submit {
    background: linear-gradient(65deg, #D2AC69 0%, #8F6B35 98%);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    width: 407px;
    max-width: 100%;
    height: 45px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
}

.btn-submit-review {
    width: 220px;
}

.about-presentation {
    width: 100%;
}

.presentation-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 20px;
    box-shadow: 4px 5px 66px rgba(103, 91, 73, 0.17);
}

.presentation-page {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    background: #FFFFFF;
}

@media (max-width: 768px) {
    .presentation-gallery {
        padding: 12px;
        gap: 10px;
    }
}

.form-image {
    margin-left: -2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-image img {
    width: 100%;
    height: 100%;
    border-radius: 0px 20px 20px 0px;
    object-fit: cover;
}

.checkbox-group input[type="checkbox"] {
    background-color: #ABC197;
}

.btn-load-more {
    border-radius: 0.625rem;
    background: linear-gradient(0deg, var(---, #ABC197) 0%, var(---, #ABC197) 100%), #333;
    color: #F2F2F2;
    border: none;
    padding: 10px 20px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    height: 2.8125rem;
    padding: 0.625rem 5.25rem !important;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    margin: auto;

}

/* Sale section styles */
.sale {
    padding: 60px 0;
    background-color: #FFFCF8;
}

.sale-item {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 1.5rem
}

.sale-title {
    color: #333333;
    margin-bottom: 8px;
}

.sale-date {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #4F4F4F;
    margin-bottom: 16px;
}

.sale-divider {
    border: none;
    height: 2px;
    background-color: #ABC197;
    margin: 16px 0;
}

.sale-description {
    color: #333333;
    margin-bottom: 16px;
}

.sale-link {
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}

.sale-link span {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #D2AC69;
    margin-right: 8px;
}

.arrow-icon {
    width: 30px;
    height: 14px;
}



.btn-load-more:hover {
    background: linear-gradient(to bottom, #9BAF7A, #2A2A2A);
}

.sale-image img {
    border-radius: 20px;
}

/* Секция отзывов */
.rewievs-section-title {
    margin-bottom: 4.75rem;
}

.rewievs {
    padding: 60px 0;
    background-color: #FFFCF8;
}

.review-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 4px 5px 66px rgba(103, 91, 73, 0.17);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-text {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #4F4F4F;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.review-name {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.366;
    color: #333333;
    flex-grow: 1;
}

.review-stars {
    color: #F2C94C;
    font-size: 12px;
}





/* Секция Контакты */
.contacts {
    padding: 80px 0;
    background-color: #FFFCF8;
}

.contacts .section-title {
    color: #333333;
    margin-bottom: 50px;
}

.contacts-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 30px 20px;
    height: 100%;
    min-height: 567px;
    display: flex;
    flex-direction: column;
}

.contacts-info {
    flex: 1;
    padding-top: 13px;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.contact-value {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #333333;
    margin: 0;
    line-height: 1.5;
}

.contact-social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.contact-social-link {
    width: 34px;
    height: 34px;
    background-color: #333333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: linear-gradient(65deg, #C9A46D 0%, #8F6B35 98%);
    transform: translateY(-2px);
}

.contact-social-link i {
    line-height: 1;
}

/* Карта */
.contacts-map {
    padding: 0;
    overflow: hidden;
    background-color: #F2F2F2;
}

.contacts-map img {
    width: 100%;
    height: 100%;
    min-height: 567px;
    object-fit: cover;
    border-radius: 20px;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    min-height: 567px;
    border: 0;
    display: block;
}

/* Форма обратного звонка */
.contacts-form-card {
    background-color: #FFFFFF;
    padding: 30px 21px;
}

.contacts-form-title {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 24px;
    line-height: 1;
}

.contacts-form-description {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 40px;
    line-height: 1.4;
}

.contacts-form .form-group {
    margin-bottom: 10px;
}

.contacts-form input[type="text"],
.contacts-form input[type="tel"],
.contacts-form input[type="email"],
.contacts-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #696969;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.contacts-form input[type="text"]::placeholder,
.contacts-form input[type="tel"]::placeholder,
.contacts-form input[type="email"]::placeholder,
.contacts-form textarea::placeholder {
    color: #828282;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.contacts-form input[type="text"]:focus,
.contacts-form input[type="tel"]:focus,
.contacts-form input[type="email"]:focus,
.contacts-form textarea:focus {
    outline: none;
    border-color: #333333;
}

.contacts-form textarea {
    resize: vertical;
    min-height: 48px;
}

.contacts-form .file-upload {
    margin-bottom: 10px;
    margin-top: 10px;
}

.contacts-form .file-label {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1.4;
    text-decoration: underline;
}

.contacts-form .file-label:hover {
    color: #696969;
}

.contacts-form input[type="file"] {
    display: none;
}

.contacts-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.contacts-form .checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 1px solid #696969;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 9px;
    accent-color: #333333;
}

.contacts-form .checkbox-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.22;
    cursor: pointer;
    margin: 0;
}

.btn-contact-submit {
    width: 366px;
    max-width: 100%;
    height: 45px;
    padding: 10px;
    background: linear-gradient(65deg, rgba(201, 164, 109, 1) 0%, rgba(143, 107, 53, 1) 98%);
    color: #F2F2F2;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-contact-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Футер */
.footer {
    background-color: #FFFCF8;
    border-top: 1px solid #F2F2F2;
    padding: 0;
}

.footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-top: 3px solid #ABC197;
}

.footer-border-top {
    width: 100%;
    height: 1px;
    background-color: #ABC197;
    margin: 0;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 20px;
    background-color: #FFFCF8;
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.21;
    color: #333333;
    margin: 0;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 47px;
    margin-top: 30px;
}

.footer-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.37;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ABC197;
}

.footer-email {
    font-family: 'Manrope', sans-serif;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 1.37;
    color: #333333;
    text-decoration: none;
    margin-left: auto;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #ABC197;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 33px;
}

.footer-social-link {
    width: 34px;
    height: 34px;
    background-color: #ABC197;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: #96a884;
    transform: translateY(-2px);
}

.footer-bottom {
    background-color: #ABC197;
    padding: 25px 116px;
    display: flex;
    gap: 72px;
}

.footer-bottom-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.37;
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-bottom-link:hover {
    opacity: 0.8;
    color: #FFFFFF;
}

.why-us-card {
    border-radius: 20px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    margin-bottom: 30px;
}

.why-us-section-title {
    font-family: Manrope;
    font-size: 2.5rem !important;

    /* 2.5rem */
}

.contacts-section {
    padding-top: 0 !important;
}

/* Адаптивные стили */

@media (max-width: 991.98px) {

    /* Contacts */
    .contacts {
        padding: 40px 0;
    }

    .contacts-card {
        min-height: auto;
        padding: 25px;
        margin-bottom: 20px;
    }

    .contact-label {
        font-size: 18px;
    }

    .contacts-form-title {
        font-size: 20px;
    }

    .contacts-form-description {
        font-size: 14px;
    }

    .contacts-map img,
    .contacts-map iframe {
        min-height: 300px;
    }

    /* Section title */
    .section-title.text-start {
        text-align: center;
    }

    /* Form */
    .contact-form {
        padding: 40px 0;
    }

    .form-container {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .form-title {
        font-size: 32px;
        text-align: center;
    }

    .form-description {
        text-align: center;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .btn-submit {
        align-self: center;
        width: 100%;
        max-width: 300px;
    }

    .form-image img {
        display: none;
    }

    /* Sale */
    .sale {
        padding: 40px 0;
    }

    .sale-title {
        font-size: 20px;
    }

    .sale-description {
        font-size: 14px;
    }

    /* Reviews */
    .rewievs {
        padding: 40px 0;
    }

    .review-card {
        margin-bottom: 30px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        padding: 20px 16px !important;
        gap: 20px;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 16px;
        margin-top: 20px;
        width: 100%;
    }

    .footer-email {
        margin-left: 0;
    }

    .footer-social {
        margin-top: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        padding: 20px 16px;
        gap: 16px;
    }

    /* Why Us */
    .whyus {
        padding: 60px 0;
    }

    .whyus .section-title {
        font-size: 32px;
        margin-bottom: 30px;
        text-align: center;
    }

    .whyus h4.section-title {
        font-size: 20px;
        text-align: center;
    }

    .whyus p {
        text-align: center;
    }

    .whyus .d-flex {
        justify-content: center;
    }

    .whyus br {
        display: none;
    }

    .contacts-section {
        margin-top: 20px !important;
    }
}


@media (max-width: 768px) {

    /* About Us */
    .about-us {
        padding: 40px 0;
    }

    .about-us .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .about-video iframe {
        height: 250px;
    }
}

@media (max-width: 575.98px) {

    /* Header */
    .logo {
        font-size: 24px;
    }

    .btn-personal-account {
        font-size: 14px;
        padding: 8px 16px;
        height: auto;
        max-width: 200px;
        margin: 0 auto 1.2rem auto;
        display: block;
    }

    .btn-personal-account-icon {
        font-size: 14px;
        padding: 8px 12px;
        height: auto;
        width: auto;
        margin: 0 auto 1.2rem auto;
        display: block;
    }

    .header-nav {
        min-height: auto;
    }

    /* Hero */
    .hero {
        min-height: calc(100vh - 180px);
        padding-bottom: 40px;
        align-items: center;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        text-align: center;
    }

    .btn-hero-primary {
        width: 100%;
        max-width: 278px;
        margin: 0 auto;
    }

    .hero-content .row.mt-4 {
        justify-content: center;
    }

    /* Contacts */
    .contacts-card {
        padding: 20px;
    }

    .contact-label {
        font-size: 16px;
    }

    .contacts-form-title {
        font-size: 18px;
    }

    .contact-item {
        margin-bottom: 24px;
    }

    .contacts-map img,
    .contacts-map iframe {
        min-height: 250px;
    }

    /* Form */
    .form-container {
        padding: 30px 15px;
    }

    .form-title {
        font-size: 28px;
    }

    /* Why Us */
    .whyus {
        padding: 40px 0;
    }

    .whyus .section-title {
        font-size: 28px;
    }

    .whyus h4.section-title {
        font-size: 18px;
    }

    /* Fasads */
    .fasads {
        padding: 40px 0;
    }

    .fasads .section-title {
        font-size: 28px;
    }

    .fasads h3 {
        font-size: 18px;
    }

    .catalog {
        padding: 0px;
    }

    .catalog-tabs .nav-link.active::after {

        width: 100%;

    }

}

.catalog .d-flex i,
.catalog .d-flex .arrow-icon {
    font-size: 14px;
    width: 30px;
    height: 14px;
}

/* Portfolio Gallery Styles */
.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

/* Большая карточка - 843×640px в макете (соотношение сторон ~1.32:1) */
.portfolio-card-large {
    height: 640px;
}

/* Средняя карточка - 407×305px в макете */
.portfolio-card-medium {
    height: 305px;
}

/* Квадратная карточка - 407×305px в макете */
.portfolio-card-small {
    height: 305px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 20px;
    border-radius: 0 0 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.5;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.portfolio-description {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #FFFFFF;
    margin: 0;
}

/* Адаптивность для планшетов */
@media (max-width: 991px) {
    .portfolio-card-large {
        height: 450px;
    }

    .portfolio-card-medium {
        height: 280px;
    }

    .portfolio-card-small {
        height: 280px;
    }

    .order-first-mobile {
        order: -1;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .portfolio-card-large {
        height: 400px;
    }

    .portfolio-card-medium {
        height: 300px;
    }

    .portfolio-card-small {
        height: 280px;
    }

    .portfolio-title {
        font-size: 18px;
    }

    .portfolio-description {
        font-size: 14px;
    }

    .portfolio-overlay {
        padding: 15px;
    }
}

/* 404 Page Styles */
.breadcrumbs-section {
    background-color: #FFFCF8;
    padding: 20px 0;
}

.breadcrumb {
    margin-bottom: 0;
    background-color: transparent;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.366;
}

.breadcrumb-item a {
    color: #333333;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #264138;
}

.breadcrumb-item.active {
    color: #828282;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "•";
    color: #121214;
    padding: 0 8px;
}

.not-found-section {
    background-color: #FFFCF8;
    padding: 60px 0 100px;
    text-align: center;
}

.not-found-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.not-found-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 300px;
    line-height: 1.366;
    color: #264138;
    margin: 0;
    margin-bottom: 20px;
}

.not-found-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 35px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    min-width: 297px;
    height: 45px;
    background-color: #ABC197;
    color: #F2F2F2;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    background: linear-gradient(131deg, rgba(210, 172, 105, 1) 0%, rgba(143, 107, 53, 1) 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(171, 193, 151, 0.4);
}

/* Адаптивность для планшетов */
@media (max-width: 991px) {
    .not-found-title {
        font-size: 200px;
    }

    .not-found-text {
        font-size: 18px;
    }

    .btn-back-home {
        min-width: 250px;
        font-size: 16px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .not-found-section {
        padding: 40px 0 60px;
    }

    .not-found-title {
        font-size: 120px;
    }

    .not-found-text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .btn-back-home {
        min-width: 100%;
        max-width: 297px;
        font-size: 16px;
    }

    .breadcrumbs-section {
        padding: 15px 0;
    }

    .breadcrumb {
        font-size: 12px;
    }
}

/* ============================================
   Страница политики конфиденциальности
   ============================================ */

/* Основные стили секции */
.privacy {
    background-color: #FFFCF8;
    padding: 40px 0 80px;
}

/* Заголовок */
.privacy-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1;
    color: #264138;
    margin-bottom: 40px;
}

/* Контент политики */
.privacy-content {
    color: #333333;
}

.privacy-content p {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.privacy-content h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.privacy-content ul li {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.privacy-content ul li strong {
    font-weight: 700;
}

/* Форма */
.privacy-form {
    margin-top: 30px;
}

.privacy-input {
    height: 48px;
    width: 206px;
    border: 1px solid #ABC197;
    border-radius: 12px;
    padding: 13px 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    background-color: #FFFFFF;
}

.privacy-input::placeholder {
    color: #828282;
}

.privacy-input:focus {
    border-color: #ABC197;
    box-shadow: 0 0 0 0.2rem rgba(171, 193, 151, 0.25);
    outline: none;
}

/* Чекбокс */
.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-checkbox .form-check-input {
    width: 20px;
    height: 20px;
    border: 1px solid #ABC197;
    border-radius: 4px;
    margin-top: 0;
    flex-shrink: 0;
}

.privacy-checkbox .form-check-input:checked {
    background-color: #ABC197;
    border-color: #ABC197;
}

.privacy-checkbox .form-check-input:focus {
    border-color: #ABC197;
    box-shadow: 0 0 0 0.2rem rgba(171, 193, 151, 0.25);
}

.privacy-checkbox .form-check-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.22;
    color: #333333;
    padding-top: 0;
}

/* Кнопка отправки */
.btn-submit-privacy {
    width: 100%;
    min-width: 206px;
    height: 45px;
    background: linear-gradient(131deg, rgba(210, 172, 105, 1) 0%, rgba(143, 107, 53, 1) 100%);
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #F2F2F2;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit-privacy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 172, 105, 0.4);
}

/* Адаптивность для планшетов */
@media (max-width: 991px) {
    .privacy-title {
        font-size: 36px;
    }

    .privacy-content h3 {
        font-size: 20px;
    }

    .privacy-input {
        width: 100%;
    }

    .btn-submit-privacy {
        width: 100%;
        max-width: 328px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .privacy {
        padding: 30px 0 50px;
    }

    .privacy-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .privacy-content p,
    .privacy-content ul li {
        font-size: 14px;
    }

    .privacy-content h3 {
        font-size: 18px;
        margin-top: 20px;
    }

    .privacy-input {
        width: 100%;
        height: 44px;
        font-size: 14px;
    }

    .privacy-checkbox .form-check-label {
        font-size: 12px;
    }

    .btn-submit-privacy {
        width: 100%;
        font-size: 16px;
        height: 44px;
    }

    .privacy-form .row {
        gap: 15px !important;
    }
}

/* ===========================
   Личный кабинет (Account)
   =========================== */

/* Заголовок компании */
.account-company-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1em;
    color: #264138;
    margin-bottom: 10px;
}

.account-discount {
    color: #ABC197;

    /* H3 */
    font-family: Manrope;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    /* 1.5rem */
}

/* Баннеры */
.account-banners {
    margin-bottom: 60px;
}

.account-banner {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    padding-bottom: 2rem;
}

.account-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Секции с заказами */
.orders-section {
    padding: 20px;
    border: 1px solid #EDEDED;
    border-radius: 10px;
    background: #FFFFFF;
    height: 100%;
}

.orders-section-right {
    display: flex;
    flex-direction: column;
}

.orders-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1em;
    color: #333333;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EDEDED;
}

/* Таблица заказов */
.orders-table {
    width: 100%;
    flex-grow: 1;
}

.orders-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 0.4px solid #E0E0E0;
}

.orders-row:first-child {
    padding-top: 0;
}

.orders-row:last-child {
    border-bottom: none;
}

.order-number {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4em;
    color: #333333;
}

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

.status-badge {
    display: inline-block;
    padding: 4px 30px;
    font-family: 'Manrope', sans-serif;
    font-weight: 200;
    font-size: 14px;
    line-height: 1em;
    color: #828282;
    border: 0.4px solid #ABC197;
    border-radius: 5px;
    background: transparent;
}

/* Кнопка создания заказа в третьей колонке */
.btn-create-order-full {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(131deg, rgba(210, 172, 105, 1) 0%, rgba(143, 107, 53, 1) 100%);
    border: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #F2F2F2;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-create-order-full:hover {
    opacity: 0.9;
    color: #F2F2F2;
}

.account-info {
    background-color: #FFFCF8;
    margin-top: 0;
}



/* Modal Forms Styling */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #E5E5E5;
    padding: 20px 30px;
}

.modal-title {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.modal-body {
    padding: 30px;
}

.modal .form-label {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
}

.modal .form-control {
    width: 100%;
    height: 48px;
    padding: 13px 15px;
    border: 1px solid #696969;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.modal .form-control::placeholder {
    color: #828282;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.modal .form-control:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(210, 172, 105, 0.1);
}

.modal .btn-primary {
    background: linear-gradient(65deg, #D2AC69 0%, #8F6B35 98%);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    height: 45px;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
    margin-top: 10px;
}

.modal .btn-primary:hover {
    opacity: 0.9;
    color: #FFFFFF;
}

.modal .text-center a {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #D2AC69;
    text-decoration: none;
    transition: color 0.3s;
}

.modal .text-center a:hover {
    color: #8F6B35;
    text-decoration: underline;
}

.btn-close {
    border-radius: 50%;
    width: 32px !important;
    height: 32px !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Стили для подсказок Django (password helptext) */
.modal .helptext {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: block;
}

.modal .helptext ul {
    margin: 5px 0 0 0;
    padding-left: 20px;
    list-style-type: disc;
}

.modal .helptext li {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.modal .errorlist {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #dc3545;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.modal .errorlist li {
    margin-bottom: 3px;
}

/* Стили для подсказок Django */
.modal .helptext {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: block;
}

.modal .helptext ul {
    margin: 5px 0 0 0;
    padding-left: 20px;
    list-style-type: disc;
}

.modal .helptext li {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.modal .errorlist {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #dc3545;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.modal .errorlist li {
    margin-bottom: 3px;
}

/* ============================================
   CREATE ORDER PAGE STYLES
   ============================================ */

/* Заголовок заказа */
.order-header {
    padding: 20px 0;
}

.order-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1em;
    color: #264138;
    margin: 0;
}

.show-all {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-show-all {
    background: #ABC197;
    border-radius: 10px;
    padding: 10px 30px;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-show-all:hover {
    background: #9ab085;
    transform: translateY(-2px);
}

/* Секции заказа */
.order-section {
    padding: 40px 0;
}

.order-section .section-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1em;
    color: #264138;
}

/* Карточки фрезеровки */
.col-xl-15 {
    flex: 0 0 auto;
    width: 12.5%;
}

.milling-item {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.milling-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.milling-label {
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid #696969;
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    position: relative;
    flex-shrink: 0;
}

.custom-checkbox:checked {
    background: white;
    border-color: #696969;
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 4.5px;
    width: 12px;
    height: 8.25px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg);
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 1px solid #696969;
    border-radius: 50%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    position: relative;
    flex-shrink: 0;
}

.custom-radio:checked {
    background: white;
    border-color: #696969;
}

.custom-radio:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.milling-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 0;
    background: #f5f5f5;
}

.milling-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.milling-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4em;
    color: #1E1E1E;
    margin: 0;
    opacity: 0.8;
}

/* Карточки вида пленки */
.film-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 4px 5px 66.4px 0px rgba(103, 91, 73, 0.17);
    height: 100%;
}

.film-card-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1em;
    color: #000000;
    margin-bottom: 30px;
}

.film-search {
    position: relative;
    margin-bottom: 20px;
}

.film-search-input {
    border: 1px solid #ABC197;
    border-radius: 10px;
    padding: 10px 40px 10px 15px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
}

.film-search-input:focus {
    outline: none;
    border-color: #ABC197;
    box-shadow: 0 0 0 0.2rem rgba(171, 193, 151, 0.25);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    opacity: 0.6;
}

.film-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.film-option {
    display: flex;
    align-items: center;
    gap: 15px;
}

.film-option label {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4em;
    color: #1E1E1E;
    opacity: 0.8;
    cursor: pointer;
    margin: 0;
}

.film-more-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.37em;
    color: #D2AC69;
    text-decoration: none;
    transition: all 0.3s ease;
}

.film-more-link:hover {
    color: #b8934a;
}

.arrow-icon-small {
    width: 30px;
    height: 14px;
}

/* Баннер заказа */
.order-banner {
    border-radius: 20px;
    overflow: hidden;
    height: 506px;
}

.order-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Таблицы размеров */
.sizes-table {
    background: transparent;
    border-radius: 0;
}

.sizes-row {
    display: flex;
    align-items: stretch;
    margin-bottom: 10px;
    gap: 10px;
}

.sizes-category {
    flex: 0 0 auto;
}

.btn-category {
    background: #F8F8F8;
    border: 1px solid #ABC197;
    border-radius: 3px;
    padding: 7px 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.17em;
    color: #686868;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 223px;
    height: 29px;
    position: relative;
}

.btn-category::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 4px;
    border-left: 1px solid #686868;
    border-bottom: 1px solid #686868;
    transform: translateY(-50%) rotate(-45deg);
}

.btn-category.active {
    background: #FFFFFF;
    border-color: #ABC197;
    color: #686868;
}

.sizes-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Изменено с 0 на 8px - теперь есть пространство между инпутами */
    flex: 1;
}

.size-input-group {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #ABC197;
    border-radius: 3px;
    padding: 5px 10px;
    height: 29px;
    width: 74px;
    /* Увеличено с 46px до 74px чтобы вместить инпут + текст "шт" */
    position: relative;
}

.size-input {
    border: none;
    background: transparent;
    width: 30px;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #686868;
    text-align: left;
    margin-right: 5px;
    /* Отступ между числом и "шт" */
}

.size-input:focus {
    outline: none;
}

.size-unit {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #686868;
    margin-left: 5px;
}

.size-input-divider {
    width: 0.4px;
    height: 13px;
    background: #686868;
    margin: 0;
    /* Удален отступ, gap в родителе теперь управляет расстоянием */
}

/* Кнопка перейти к размерам */
.btn-to-sizes {
    background: linear-gradient(131deg, rgba(210, 172, 105, 1) 0%, rgba(143, 107, 53, 1) 100%);
    border-radius: 10px;
    padding: 10px 40px;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #F2F2F2;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 300px;
}

.btn-to-sizes:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(143, 107, 53, 0.3);
}


.sizes-section {
    background: #FFFCF8;
    padding: 50px 0 80px;
    min-height: calc(100vh - 200px);
}

.container-sizes {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 116px;
}

/* Кнопка "Вернуться к началу заказа" */
.btn-back-to-order {
    background: #ABC197;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-back-to-order:hover {
    background: #9aad88;
}

/* Заголовок страницы */
.page-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1em;
    color: #264138;
    margin: 0;
}

/* Хлебные крошки */
.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item-custom {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.366em;
    color: #333333;
}

.breadcrumb-item-custom.active {
    color: #ABC197;
}

.breadcrumb-link {
    color: #333333;
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: #ABC197;
}

.breadcrumb-dot {
    color: #ABC197;
    font-size: 8px;
    list-style: none;
}

/* Блок размера */
.size-block {
    margin-bottom: 60px;
}

.size-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1em;
    color: #264138;
    margin-bottom: 40px;
}

/* Строки формы */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.form-col {
    display: flex;
    flex-direction: column;
}

.form-col-wide {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.input-with-unit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.unit-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.366em;
    color: #686868;
}

/* Лейблы */
.form-label-custom {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1em;
    color: #333333;
    display: block;
    margin-bottom: 14px;
}

/* Выпадающие списки */
.form-select-custom {
    width: 223px;
    height: 29px;
    background: #FFFFFF;
    border: 1px solid #ABC197;
    border-radius: 3px;
    padding: 5px 30px 5px 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.366em;
    color: #686868;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 3L7 1' stroke='%23686868' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

.form-select-custom:focus {
    outline: none;
    border-color: #8fa67a;
}

/* Поля ввода */
.form-input-custom {
    width: 223px;
    height: 29px;
    background: #FFFFFF;
    border: 1px solid #ABC197;
    border-radius: 3px;
    padding: 5px 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.366em;
    color: #686868;
}

.form-input-small {
    width: 175px;
    height: 29px;
    background: #FFFFFF;
    border: 1px solid #ABC197;
    border-radius: 3px;
    padding: 5px 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.366em;
    color: #686868;
}

.form-input-custom:focus,
.form-input-small:focus {
    outline: none;
    border-color: #8fa67a;
}

.form-input-custom::placeholder,
.form-input-small::placeholder {
    color: #686868;
}

/* Текстовое поле комментария */
.form-textarea-custom {
    width: 100%;
    height: 63px;
    background: #FFFFFF;
    border: 1px solid #ABC197;
    border-radius: 12px;
    padding: 20px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.366em;
    color: #686868;
}

.form-textarea-custom:focus {
    outline: none;
    border-color: #8fa67a;
}

.form-textarea-custom::placeholder {
    color: #828282;
}

/* Кнопка "Добавить размер" */
.btn-add-size {
    background: #ABC197;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

/* Кнопка "Сформировать заказ" */
.btn-submit-order {
    width: 350px;
    height: 45px;
    background: linear-gradient(131deg, #D2A869 0%, #8F6B35 100%);
    border: none;
    border-radius: 10px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.21em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-order:hover {
    background: linear-gradient(131deg, #c2995c 0%, #7f632e 100%);
}

.btn-submit-order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-content {
    border-radius: 10px;
}

.modal-header {
    border-bottom: none;
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-close {
    font-size: 1.2rem;
}

/* Адаптивность для create_order */
@media (max-width: 1400px) {
    .col-xl-15 {
        width: 16.666667%;
    }
}

@media (max-width: 1200px) {
    .order-title {
        font-size: 40px;
    }

    .order-section .section-title {
        font-size: 32px;
    }

    .col-xl-15 {
        width: 20%;
    }
}

/* Общие стили для планшетов и телефонов (≤992px) */
@media (max-width: 992px) {
    .order-title {
        font-size: 32px;
    }

    .btn-show-all {
        font-size: 16px;
        padding: 8px 20px;
    }



    .order-section .section-title {
        font-size: 28px;
    }

    .col-xl-15 {
        width: 25%;
    }


    .film-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .order-banner {
        height: 400px;
    }

    /* Личный кабинет — стили для планшетов и выше (до 992px) */
    .account-company-name {
        font-size: 36px;
    }

    .account-discount {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .account-banner {
        height: 300px;
    }

    .orders-title {
        font-size: 20px;
    }


    .btn-create-order-full {
        min-height: 200px;
    }

    .btn-personal-account-icon {
        width: auto;
        margin-bottom: 1.3rem;
    }

    .btn-personal-account {
        width: auto;
        min-width: 11.3rem;
        margin-bottom: 1.3rem;
    }

    /* Дополнительные стили из 768px-запроса (актуальны до 992px) */
    .btn-category {
        min-width: 100%;
    }

    .sizes-row {
        flex-direction: column;
    }

    .sizes-inputs {
        justify-content: center;
    }

    .btn-to-sizes {
        min-width: 100%;
        font-size: 16px;
    }
}

/* Уточнения для мобильных устройств (≤767px) */
@media (max-width: 767px) {
    .order-title {
        font-size: 28px;
    }

    .btn-show-all {
        font-size: 14px;
        padding: 6px 15px;
    }

    .order-section .section-title {
        font-size: 24px;
    }

    .col-xl-15 {
        width: 50%;
    }


    .order-banner {
        height: 300px;
    }

    .account-company-name {
        font-size: 28px;
    }

    .account-discount {
        font-size: 18px;
        /* margin-bottom остаётся 30px, если не нужно менять */
    }

    .account-banner {
        height: 250px;
    }

    .btn-create-order-full {
        font-size: 16px;
        min-height: 60px;
        margin-bottom: 20px;
    }

    .order-first-mobile {
        order: -1;
    }

    .orders-title {
        font-size: 18px;
    }

    .orders-section {
        margin-top: 1rem;
        padding: 15px;
    }

    .orders-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 0;
    }

    .order-status {
        text-align: left;
        width: 100%;
    }

    .status-badge {
        padding: 4px 20px;
        font-size: 12px;
    }

    .account-info .section-title {
        margin-top: 20px;
    }

    .milling-image {
        height: auto;
    }

    .milling-item {
        margin-bottom: 20px;
    }

    .container-sizes {
        padding: 0 20px;
    }

    .page-title {
        font-size: 32px;
    }

    .size-title {
        font-size: 28px;
    }

    .form-label-custom {
        font-size: 18px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-select-custom,
    .form-input-custom,
    .form-input-small {
        width: 100%;
    }

    .form-textarea-custom,
    .btn-add-size,
    .btn-submit-order {
        width: 100%;
    }
    .btn-back-to-order{
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .order-title {
        font-size: 24px;
    }

    .order-section .section-title {
        font-size: 20px;
    }

    .order-section {
        padding: 0;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .order-header .row {
        flex-direction: column;
        gap: 15px;
    }

    .order-header {
        padding-bottom: 0;
    }

    .btn-show-all {
        align-self: flex-end;
    }
}
/* Стили для итоговой таблицы заказа */
.order-summary-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.summary-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.summary-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Стили таблицы для десктопа */
.order-summary-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.order-summary-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.order-summary-table thead th {
    color: white;
    font-weight: 600;
    padding: 15px 12px;
    text-align: center;
    border: none;
    font-size: 14px;
}

.order-summary-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.order-summary-table tbody tr:hover {
    background-color: #e9ecef;
    transition: background-color 0.3s ease;
}

.order-summary-table td {
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    border-color: #dee2e6;
    font-size: 14px;
}

.order-summary-table .param-label {
    font-weight: 600;
    background-color: #f1f3f5;
    color: #495057;
    text-align: left;
    padding-left: 20px;
}

/* Мобильные карточки */
.mobile-summary-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #667eea;
}

.mobile-card-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.mobile-param-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
}

.mobile-param-row:last-child {
    border-bottom: none;
}

.mobile-param-label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.mobile-param-value {
    font-weight: 400;
    color: #212529;
    font-size: 14px;
    text-align: right;
}

/* Адаптация для планшетов */
@media (max-width: 991px) and (min-width: 768px) {
    .order-summary-table thead th,
    .order-summary-table td {
        font-size: 12px;
        padding: 10px 8px;
    }
    
    .summary-title {
        font-size: 28px;
    }
}

/* Адаптация для мобильных устройств */
@media (max-width: 767px) {
    .order-summary-section {
        padding: 20px 15px;
    }
    
    .summary-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .mobile-summary-card {
        padding: 15px;
    }
    
    .mobile-card-title {
        font-size: 18px;
    }
    
    .mobile-param-label,
    .mobile-param-value {
        font-size: 13px;
    }
}

/* Анимация появления строк таблицы */
.order-summary-table tbody tr {
    animation: fadeIn 0.5s ease-out backwards;
}

.order-summary-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.order-summary-table tbody tr:nth-child(2) { animation-delay: 0.15s; }
.order-summary-table tbody tr:nth-child(3) { animation-delay: 0.2s; }
.order-summary-table tbody tr:nth-child(4) { animation-delay: 0.25s; }
.order-summary-table tbody tr:nth-child(5) { animation-delay: 0.3s; }
.order-summary-table tbody tr:nth-child(6) { animation-delay: 0.35s; }
.order-summary-table tbody tr:nth-child(7) { animation-delay: 0.4s; }
.order-summary-table tbody tr:nth-child(8) { animation-delay: 0.45s; }
.order-summary-table tbody tr:nth-child(9) { animation-delay: 0.5s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Анимация для мобильных карточек */
.mobile-summary-card {
    animation: slideInUp 0.5s ease-out backwards;
}

.mobile-summary-card:nth-child(1) { animation-delay: 0.1s; }
.mobile-summary-card:nth-child(2) { animation-delay: 0.2s; }
.mobile-summary-card:nth-child(3) { animation-delay: 0.3s; }
.mobile-summary-card:nth-child(4) { animation-delay: 0.4s; }
.mobile-summary-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для валидации полей */
.form-input-custom.is-invalid,
.form-select-custom.is-invalid,
.form-input-small.is-invalid {
    border: 2px solid #dc3545 !important;
    background-color: #fff5f5 !important;
    animation: shake 0.5s;
}

.form-input-custom.is-invalid:focus,
.form-select-custom.is-invalid:focus,
.form-input-small.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Стили для модального окна с ошибками */
#successMessage {
    font-size: 15px;
    line-height: 1.6;
}

#successMessage strong {
    color: #dc3545;
}

/* Улучшение видимости названий параметров в таблице итога */
.order-summary-table thead th {
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    background: #f8f9fa !important;
    padding: 15px 12px !important;
}

.order-summary-table thead {
    background: #f8f9fa !important;
}
