:root {
    --white: #fff;
    --brown: #74191c;
    --beige: #eed9c6;
    --cream: #fcf0e2;
}

body {
    margin: 0;
	font-family: 'Bebas Neue Pro SmE Eb', Arial, Helvetica, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: var(--brown);
    background: var(--white);
}

/* --- Header --- */
.header {
    background: var(--brown);
    border-bottom: 2px solid var(--beige);
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--cream);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    box-sizing: border-box;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}
.logo img {
    height: 40px;
}
.brand, .contacts {
    display: flex;
    flex-direction: row;
   /* gap: 15px;*/
    gap: 1px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.brand{
	padding: 0;
}
.brand h1 {
    display: none;
    margin: 0;
    font-size: 1.2rem;
    padding: 3px 0 0 0;
}
.contacts a{
    color: var(--beige);
    text-decoration: none;
    margin: 0;
    font-size: 1.2rem;
}

/* --- Main Navigation --- */
.main_nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main_nav li {
    margin: 0;
}
.main_nav a {
    color: var(--beige);
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1.2rem;
}
.main_nav a:hover {
    border: 1px solid var(--beige);
    color: #fcf0e2;
}
.messengers{
	display: flex;
	flex-shrink: 0;
}
.messengers a {
    margin: 1px 0 0 10px;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--cream);
    color: var(--brown);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-max img{
    width: 24px;
    height: 24px;
}
.logo{
    max-width: 190px;
    height: auto;
}
.logo img{
    width: 100%;
    height: auto;
}
h2 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    text-align: center;
    padding: 20px 0 0 0;
}
h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}
/* --- Hero --- */
.hero {
    background: var(--beige);
    padding: 0 0 60px 0;
}
.hero-text {
   /* max-width: 800px;*/
    margin: 0 30px 0 0;
    font-size: 1.4rem;
    line-height: 1.4rem;
    text-align: left;
}
.hero-text p {
    margin-bottom: 15px;
}
.hero img {
    max-width: 100%;
    border-radius: 16px;
}
.fs_offer{
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
  
}
    .video-wrap{
        /*width: fit-content;*/
    height: 310px; /* 400px*/
	width: 270px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .video-wrap video{
        width: 100%;
        height: 100%;
        display: block;
    }       
/* --- Kit --- */
.kit{
    background: var(--cream);
}
.kit_wrapper{
 /*   display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px; */
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;   
}
.kit_item{
  /*  width: 300px;*/
    max-width: 100%;
    text-align: left;
}
.kit_item p{
    /*padding: 0 10px 0 10px;*/
    padding: 0;
    font-size: 0.8rem;
    display: block; 
    height: 46px;
}
.kit_item p br{
    display: none;
}
.kit_image_w{
    display: block;
    width: 100%;
    aspect-ratio: 1 / 0.97;
    overflow: hidden;
}
.kit_delivery{
    width: 100%;
    text-align: left;
    padding: 30px 0 20px 0;
    font-size: 1.22rem;
    line-height: 1.2rem;
}
.kit_delivery p{
    /*padding-bottom: 15px;*/
}
.how {
   background: var(--beige);
}
.how h2 {
    text-align: center;
}
/* --- Steps --- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding: 0 0 30px 0;
}
.step {
    text-align: left;
}
.step h3 {
    margin-bottom: 10px;
    /*height: 65px;*/
    height: fit-content;
    display: block;
    overflow: hidden;
    font-size: 1.7rem;
    width:fit-content;
    white-space: nowrap; 
        min-width: 250px;
}
.step p {
    margin-bottom: 15px;
     font-size: 1.2rem;
     display: block;
     height: 44px;
}
.step img, .komplekt_image img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 10px;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.komplekt_image{
    width: 450px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.step_item_text{
    width: min-content;
    margin: 0 auto; 
}
.step_item_text p{
    width: auto;
}
.step_item_text p br{
    display: none;
}

/* --- Order --- */
.order {
    background: var(--cream);
    padding: 0 0 60px 0;
}
.order-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}
.order-form {
    flex: 1;
    min-width: 300px;
}
.order-form h3 {
    margin-bottom: 20px;
}
.order-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-field {
    display: flex;
    flex-direction: column;
}
.form-field label {
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 500;
}
.form-field-full {
    grid-column: 1 / -1;
}
.order-form input,
.order-form button {
    padding: 10px;
    border: 1px solid var(--brown);
    border-radius: 8px;
}
.order-form button{
    width:100%;
}
.order-form input::placeholder {
    color: var(--beige);
}
.order-form .btn-submit{
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.order-form .btn-submit:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}
.order-form .btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
/* File drop area */
.file-drop-area {
    border: 2px dashed var(--brown);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}
.file-drop-area.highlight {
    border-color: var(--brown);
    background: var(--cream);
}
.file-drop-text {
    color: var(--brown);
}
.file-drop-text svg {
    margin-bottom: 10px;
}
.file-drop-text p {
    margin: 10px 0;
}
.file-browse {
    color: var(--brown);
    text-decoration: underline;
    cursor: pointer;
}
.file-name {
    display: none;
    margin-top: 10px;
    font-weight: bold;
    color: var(--brown);
}

.file-list {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.file-item {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.file-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

.file-item-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-item-name {
    display: none;
}

.order-form button.file-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc3545;
    color: var(--white);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.order-form button.file-remove:hover {
    background: #c82333;
    transform: scale(1.05);
}

.order-form button.file-remove svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.btn-submit {
    background: var(--brown);
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
}
.agree, .supple {
    font-size: 1.2rem;
    display: flex;
    gap: 5px;
}
input[type="checkbox"]{
    width: 20px;
    height: 20px;
}
.wa-link {
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--brown);
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin: 10px auto 0;
    padding: 0 0 4px 0;
    border-bottom: 1px solid var(--beige);
}
.wa-link:hover {
    border-bottom: 1px solid var(--brown);
}
.wa-link svg {
    width: 20px;
    height: 20px;
    display: inline-block;
}
.order-summary {
    display: flex;
    justify-content: center;
}
.summary-card {
    background: var(--white);
    padding: 5px 20px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.summary-card div, .summary-card p{
        font-size: 1.4rem;
        line-height: 1.8rem;
}
/* --- Subscription & Footer --- */
.subscription {
    padding: 40px 0 0 0;
}
.footer {
    padding: 40px 0 0;
}
.subscription p{
    text-align: left;
    font-size: 1.2rem;
}
.subscription h2 {
    text-align: center;
    margin-bottom: 20px;
}
.footer {
    text-align: center;
}
.footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.footer li {
    margin-bottom: 5px;
}

/* --- Back to top button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--brown);
    color: var(--cream);
    border: none;
    border-radius: 8px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.back-to-top:hover {
    background: var(--beige);
    color: var(--brown);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.back-to-top.show {
    display: flex;
}
.footer a, .agree a {
    color: var(--brown);
    text-decoration: none;
    border-bottom: 1px solid var(--brown);
}
.footer a:hover, .agree a:hover {
    border-bottom: 1px solid #ffffff00;
}
.copyrights{
    margin: 30px auto 0;
    width: 100%;
        background: var(--beige);
        border-top: 2px solid var(--brown);
        padding: 30px 0;
        text-align: center;
}
.copyrights p{
    width: fit-content;
    text-align: center;
    display: block;
    margin: 0 auto;
    line-height: 1.5rem;
}
.submit-wrap {
            position: relative;
            display: inline-block;
        }
        .submit-overlay {
            position: absolute;
            inset: 0;
            cursor: not-allowed;
            background: rgba(255, 255, 255, 0);
            border-radius: inherit;
        }
        .submit-overlay:hover::before {
            content: attr(title);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: #333;
            color: #fff;
            padding: 8px 12px;
            border-radius: 4px;
            white-space: nowrap;
            font-size: 13px;
            z-index: 10;
            margin-bottom: 8px;
            pointer-events: none;
        }
        .submit-overlay:hover::after {
            content: '';
            position: absolute;
            bottom: calc(100% - 4px);
            left: 50%;
            transform: translateX(-50%);
            border: 6px solid transparent;
            border-top-color: #333;
            z-index: 10;
            pointer-events: none;
        }
.footer_contacts{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
}