/*reset*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn,
em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details,
embed, figure, figcaption, footer, header, menu, nav, output, ruby, section,
summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%;}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, menu, nav, section, main {display: block;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
img{max-width: 100%; height: auto;}
a{text-decoration: underline;}
a:hover{cursor: pointer;}
*::-webkit-input-placeholder {color: #a9a9a9; opacity: 1;}
*:-moz-placeholder {color: #a9a9a9; opacity: 1;}
*::-moz-placeholder {color: #a9a9a9; opacity: 1;}
*:-ms-input-placeholder {color: #a9a9a9; opacity: 1;}
*{margin: 0; padding: 0;}
*{-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
button,input,a{outline: none;}
button, input, select{-webkit-appearance: none; -moz-appearance: none; appearance: none;}
html{
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: subpixel-antialiased !important;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* CUSTOM TEMPLATE 1 */


/* styles */
body {
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.1;
    color: #222;
    cursor: default;
    background: #1b1b1b;
}

.main-container {
    overflow: hidden;
    
}
.top-menu2 {
    display: flex;
    align-items: center;
    justify-content: space-between; /* если логотип слева, бургер справа */
    height: 55px; /* или какая тебе нужна высота */
}

.offer_butt {
    max-width: 100%;
    padding: 0 15px;
    margin: 30px 0 40px 0;

}
.content {
    max-width: 480px !important;
    overflow: hidden;
    
    margin: 0 auto;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}
img {
    max-width: 100%;
    height: auto;
}
b {
    font-weight: 700;
}
/* button */
.button {
    display: block;
    margin: 10px auto;
    padding: 0;
    width: 350px;
    height: 80px;
    border: none;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: #fff;
    /*-webkit-box-shadow: 0 0 0 10px rgba(162,103,237,0.3);*/
    /*-moz-box-shadow: 0 0 0 10px rgba(162,103,237,0.3);*/
    /*box-shadow: 0 0 0 10px rgba(162,103,237,0.3);*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 80px;
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}



.button:hover {
    text-decoration: none;
}

.button p {
    display: inline;
    font-size: 20px;
}
/* titles */
h2.title {
/*    margin: 0 0 30px;*/
    padding: 0 30px;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    text-transform: uppercase;
}
/* image */
section .image {
    display: block;
    margin: 0 auto 30px;

}
  
        /* Прелоадер */
        .preloader {
            position: fixed;
            width: 100vw;
            height: 100vh;
            background: #1b1b1b;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            text-align: center;
            z-index: 10000;
        }
        .logo {
            width: 320px;        
            margin-bottom: 30px;
        }
        .subtitle {
            font-size: 1.2em;
            margin-bottom: 200px;
        }
        .progress-container {
            width: 80%;
            max-width: 300px;
            height: 8px;
            background: #333;
            border-radius: 5px;
            overflow: hidden;
            margin-bottom: 10px;
        }
        .progress-bar {
            width: 0%;
            height: 100%;
            background: #c69342;
            transition: width 0.3s;
        }
        .loading-text {
            font-size: 0.9em;
        }
        /* Анимация скрытия */
        .fade-out {
            opacity: 0;
            transition: opacity 0.5s ease-out;
            pointer-events: none;
        }
        .bullet_title {
            color: #ffffff;
            margin: 75px 20px 40px 20px;
            font-size: 25px; 
            font-weight: 500; 
            text-align: center;
            
            font-size: 28px; 
            font-weight: 900;
        }
    

.topnav {
              overflow: hidden;
              background-color: #333;
              
            }
            .topnav a {
              float: left;
              display: block;
              color: #f2f2f2;
              text-align: center;
              padding: 14px 16px;
              text-decoration: none;
              font-size: 18px;
            }
            
            .topnav a:hover {
              background-color: #ddd;
              color: black;
            }
            
            .topnav a.active {
              background-color: #04AA6D;
              color: white;
            }
            
            
            .topnav .icon {
              display: none;
            }
            
            @media screen and (max-width: 600px) {
              .topnav a:not(:first-child) {display: none;}
              .topnav a.icon {
                float: right;
                display: block;
              }
            }
            
            @media screen and (max-width: 600px) {
              .topnav.responsive {position: relative;}
              .topnav.responsive .icon {
                position: absolute;
                right: 0;
                top: 0;
              }
              .topnav.responsive a {
                float: none;
                display: block;
                text-align: left;
              }
            }
           

                
                .burger-btn {
            font-size: 35px;
            background: none;
            border: none;
            cursor: pointer;
            color: #c69342;
            padding-bottom: 5px;
        }

        /* Затемняющий фон */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            z-index: 999;
        }

        /* Мобильное меню */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: -560px; /* Скрыто за экраном */
            width: 460px;            
            background: white;
            padding: 20px;
            transition: left 0.3s ease-in-out;
            z-index: 1001;
            margin:10px 10px 0 10px;
            border-radius: 20px;
            box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);

        }
         .pricing-card-container {
                background: white;
                border-radius: 20px;
                padding: 30px;
                width: 460px;
                box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
                text-align: left;
                position: relative;
                margin: 30px auto;
                line-height: 1.1;
                border: 1px solid #c69342;
            }
            .card-container {
                background: white;
                border-radius: 20px;
                padding: 30px;
                width: 460px;
                box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
                text-align: left;
                position: relative;
                margin: 30px auto;
                line-height: 1.1;
                border: 1px solid #ccc;
            }
            .pricing-badge {
                background: #c69342;
                color: black;
                padding: 12px 15px;
                border-radius: 20px;
                font-size: 18px;
                font-weight: 700;
                position: absolute;
                top: 20px;
                right: 20px;
                color:#ffffff;
            }
            .pricing-title {
                
                margin-top: 50px;
                font-size: 28px;
                font-weight: 700;
                
            }
            .pricing-subtitle {
                font-size: 18px;
                color: #1b1b1b;
                margin-top: 10px;
                line-height: 1.1;
            }
            .pricing-amount {
                font-size: 40px;
                font-weight: 700;
                margin-top: 75px;
            }
            .pricing-amount span {
                font-size: 22px;
                font-weight: 500;
                color: #1b1b1b;                
            }
            .pricing-divider {
                border-top: 1px solid lightgray;
                margin: 20px 0;
            }
            .pricing-features {
                list-style: none;
                padding: 0;
            }
            .pricing-features li {
                font-size: 20px;
                margin: 10px 0 20px;
                align-items: center;
                font-weight: 700;
            }
            .pricing-features li span {
                font-size: 18px;
                margin: 5px 0 15px;
                align-items: center;
                font-weight: 300;
            }
            .pricing-features li::before {
                content: "✔";
                color: #c69342;
                font-weight: 700;
                margin-right: 10px;
            }
            
            .pricing-button {
                width: 100%;
                display: block;
                background: black;
                color: white;
                text-align: center;
                padding: 20px;
                border-radius: 30px;
                font-size: 22px;
                text-decoration: none;
                margin-top: 5px;
            }

           .marquee-container {
                        width: 100vw;
                        height: 100px;
                        background: black;
                        color: white;
                        display: flex;
                        align-items: center;
                        overflow: hidden;
                        white-space: nowrap;
                        position: relative;
                    }
                    .marquee {
                        display: flex;
                        gap: 30px;
                        min-width: 200%; /* Удваиваем ширину для бесконечного эффекта */
                        animation: marquee 10s linear infinite;
                    }
                    .marquee span {
                        font-size: 24px;
                        font-weight: 700;
                        text-transform: uppercase;
                    }
                    @keyframes marquee {
                        from {
                            transform: translateX(0);
                        }
                        to {
                            transform: translateX(-50%);
                        }
                    }

        .mobile-menu.active {
            left: 49.5%;
            transform: translateX(-50%);
        }

        .close-btn {
            font-size: 32px;
            background: none;
            border: none;
            cursor: pointer;
            float: right;
            color: #c69342;
            line-height: 1;
        }

        .mobile-menu ul {
            list-style: none;
            margin: 50px 0 70px;
            text-align: center;
        }

        .mobile-menu ul li {
            margin: 10px 0;
        }

        .mobile-menu ul li a {
            text-decoration: none;
            font-size: 20px;
            color: #1b1b1b;
            font-weight: 300;
        }

        .field::placeholder {
            font-size: 22px;
            font-family: 'Montserrat';
            opacity: 0.7; /* Прозрачность */
        }

        .calculator input {

                        width: 100%;
                        padding: 10px;
                        margin: 5px 0 10px 0;
                        border: 1px solid #ccc;
                        border-radius: 20px;
                        text-align: center;
                        font-size: 22px;
                    }
        .order_form input {
                        width: 100%;
                        padding: 10px;
                        margin: 5px 0 10px 0;
                        border: 1px solid #ccc;
                        border-radius: 20px;
                        text-align: center;
                        font-size: 22px;
                    }
        .calculator {

                        max-width: 460px;
                        margin: 10px 10px 40px 10px;
                        background: #c69342;
                        padding: 30px;
                        border-radius: 20px;
                        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
                        font-size: 22px;
                        position: relative;
                        border: 1px solid #ccc;
                    }
        .egg-button {
                        width: 100%;
                        background: white;
                        border: none;
                        color: #565656;
                        border-radius: 5px;
                        cursor: pointer;
                        position: relative;
                        margin: 3px 0 10px 0;
                        padding: 10px;
                        border-radius: 20px;
                        
                        font-size: 22px;
                    }
        .egg-button.selected {
                        border: 3px solid green;
                    }                    
        .egg-button.selected::after {
                        content: '\2713';
                        position: absolute;
                        top: 7px;
                        right: 7px;
                        font-size: 22px;
                        color: green;
                        font-weight: 700;
                    }
        .egg-button:last-child {
                        margin-right: 0;
                    }
        button.calculate {
                        margin-top: 20px;
                        padding: 15px;
                        background: #565656;
                        border: none;
                        color: white;
                        font-size: 20px;
                        font-weight: 700;
                        border-radius: 20px;
                        cursor: pointer;
                        width: 100%;
                    }
        .result {
                        display: flex;
                        flex-wrap: wrap;
                        margin-top: 25px;
                    }
        .result .itog {
                        font-size: 20px;
                        padding-top: 5px;
                        line-height: 1.1;
                    }
        .profit {
                        font-size: 52px;
                        padding: 25px 20px 0px 0;
                        font-weight: 900;
                        line-height: 1;
                        text-align: center;
                    }
        .profit-descr {
                        font-size: 20px;
                        padding: 10px 0px 20px 0;
                        text-align: center;
                    }

        .row {
                        display: flex;
                        justify-content: space-between;
                        gap: 10px;
                        padding: 5px 0;  
                    }

        .row > div:first-child {
                        width: 60%;
                    }

        .row > div:last-child {
                        width: 40%;
                    }
        .row input {
                        width: 100%;
                        padding: 10px;
                        border: 1px solid #ccc;
                        border-radius: 20px;
                        
                    }
        .price-container {
                        
                        width: max-content;
                        border: 1px solid #000;
                        padding: 15px;
                        background: #f5f5f5;
                    }       

        .old-price {
                    text-decoration: line-through;
                    color: gray;
                    font-size: 20px;
                    font-weight: 700;
                    }

        .current-price {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                        font-size: 24px;
                        font-weight: 700;
                    }
        .quantity {
                        font-size: 30px;
                    }

        .new-price {
                        color: #000;
                    }

        .stock {
                        border: 2px solid black;
                        display: inline-block;
                        padding: 5px 10px;
                        font-size: 18px;
                        font-weight: 700;
                        margin-top: 10px;
                    }

        .labell { 
                        margin-bottom: 5px;
                        }
        .main_image img {
            
            border-radius: 20px;
            border: 1px solid #c69342;
            width: 100%;
            }
.shiny-text {
    position: relative;
    display: inline-block;
    color: #999999;
    background: linear-gradient(90deg, #999, #fff, #999);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: shine 2s linear infinite;
}

@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.slider-container {
    width: 100%;
    max-width: 460px;
    margin: 30px auto;
    border-radius: 20px;
    overflow: hidden;
    
    border: 1px solid #c69342;
}

.main-slider {
    position: relative;
    width: 100%;
    height: auto;
}

.slider-image {
    display: none;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.slider-image.active {
    display: block;
    min-height: 462px;
}

.thumbnail-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.selected {
    opacity: 1;
    border-color: #c69342;
    box-shadow: 0 0 5px #c69342;
}
.review-section {
    margin: 30px 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    padding: 25px;
    background-color: #f6f4f5;
    border-radius: 20px;
    border: 1px solid #c69342;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.review-name {
    font-size: 20px;
    font-weight: 700;
    color: #1b1b1b;
}

.review-meta {
    font-size: 14px;
    color: #888;
    font-weight: 400;
    margin-left: 8px;
}

.stars {
    font-size: 20px;
    color: #ffc107;
    font-weight: 700;
}

.review-text {
    font-size: 18px;
    line-height: 1.3;
    color: #333;
}

.features-block {
    max-width: 480px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 15px;
}

.feature-card {
    display: flex;
    background: white;
    border-radius: 20px;
    border: 1px solid #c69342;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-color: #999999;
    
}


.feature-card.reverse {
    flex-direction: row-reverse;
}

.feature-img {
    flex: 0 0 30%;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-right: 1px solid #ccc;
}

.feature-card.reverse .feature-img img {
    border-left: 1px solid #ccc;
    border-right: none;
}

.feature-text {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-text h3 {
    
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1b1b1b;
}

.feature-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.3;
}


.installment-block {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  margin: 30px 10px;
  border: 1px solid #c69342;
  text-align: center;
  
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.installment-block h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1b1b1b;
}

.tabs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1 1 22%;
  padding: 12px 0;
  background: #1b1b1b;
  border: 1px solid #c69342;
  border-radius: 15px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.tab-btn.active {
  background: #c69342;
  color: #1b1b1b;
}

.tab-content {
  font-size: 18px;
  color: #454545;
  font-weight: 500;
  margin-bottom: 20px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  margin: 40px 0;
  line-height: 1.3;
  font-size: 18px;
  text-align: left;
  font-weight: 300;

}

.credit-info {
  font-size: 18px;
  color: #333;
  background: #f6f4f5;
  padding: 15px;
  border-radius: 15px;
  
}

/** Блока FAQ **/
    .faq-section {
  max-width: 460px;
  margin: 30px auto;
  font-family: 'Montserrat', sans-serif;
}

.faq-item {
  background: #f6f4f5;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #c69342;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 500;
  font-size: 18px;
  color: #222;
}

.faq-number {
  font-weight: 700;
  color: #999;
  margin-right: 10px;
}

.faq-text {
  flex: 1;
  text-align: left;
}

.faq-arrow {
  font-size: 22px;
  color: #999;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  padding-top: 15px;
  font-size: 18px;
  line-height: 1.4;
  color: #444;
}

.faq-answer ul {
  padding-left: 20px;
  margin: 10px 0;
}

.faq-answer ul li {
  margin-bottom: 5px;
}

/** Конец FAQ **/

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-form {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: 'Montserrat', sans-serif;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #999;
}

.popup-form .field {
  display: block;
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 15px;
  font-size: 18px;
  color: #555;
}
.team-section {
  padding: 60px 15px;
  background-color: #f6f4ef;
}

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

.team-card {
  display: flex;
  gap: 15px;
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(146, 130, 101, 0.1);
  overflow: hidden;
  padding: 20px;
  align-items: center;
}

.team-photo {
  flex: 0 0 100px;
  height: 100px;
  border-radius: 20px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-info {
  flex: 1;
}

.team-info h4 {
  font-family: "Lora", serif;
  font-size: 20px;
  color: #59675d;
  margin-bottom: 10px;
}

.team-info p {
  font-size: 16px;
  font-weight: 300;
  color: #59675d;
  line-height: 1.4;
}
 .pricing-button btn_popup {
    animation: pulseGrow 2s infinite;
    transition: transform 0.2s ease;
  }

  @keyframes pulseGrow {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(198, 147, 66, 0.6);
    }
    50% {
      transform: scale(1.03);
      box-shadow: 0 0 0 12px rgba(198, 147, 66, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(198, 147, 66, 0);
    }
  }
/* Основной контейнер коллажа */
.collage-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
    gap: 10px; /* Отступ между ячейками */
    max-width: 90%;
    margin: 20px auto;
}

/* Общие стили для каждой ячейки */
.item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Стили для изображений */
.item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Специальные правила для каждого элемента */
.item-1 {
    grid-row: span 2; /* Элемент занимает 2 строки */
}
.item-2 {
    grid-column: span 2; /* Элемент занимает 2 колонки */
}
.item-3 {
    grid-row: span 2; /* Элемент занимает 2 строки */
}
.item-4 {
    grid-column: span 2; /* Элемент занимает 2 колонки */
}
.item-5 {
    grid-row: span 2; /* Элемент занимает 2 строки */
}
.item-6 {
    grid-column: span 2; /* Элемент занимает 2 колонки */
}
.item-7 {
    grid-row: span 2; /* Элемент занимает 2 строки */
}
.item-8 {
    grid-column: span 2; /* Элемент занимает 2 колонки */
}
.item-9 {
    grid-row: span 2; /* Элемент занимает 2 строки */
}