/* COMMON STYLES */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

li {
    position: relative;
    list-style: none;
    z-index: 1;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-width: 375px;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    background: #f6f6fd;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}


:root {
    --font-family: "Arial", sans-serif;
    --second-family: "Montserrat", sans-serif;
    --third-family: "Roboto", sans-serif;
}

/* COMMON STYLES */
.button {
    border: none;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 0 10px;
    margin: 0 auto;
}

/* HEADER */
.header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #fff;
    transform: translateY(0);
    transition: all .3s ease;
    z-index: 1000;
}

.header .container {
    position: relative;
    padding-right: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header.out {
    transform: translateY(-100%);
    transition: all .3s ease;
}

.header-logo {
    max-width: 144px;
}

.navigation-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.navigation-link {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    color: #000;
    border-bottom: 2px solid transparent;
    transition: .2s ease-in-out;
}

.navigation-link:hover {
    color: #2f940d;
    transition: .2s ease-in-out;
}

.burger-menu,
.menu {
    display: none;
}

/* main */
.main {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/main-bg.png");
    background-position: center right;
    background-size: 996px, contain;
    background-repeat: no-repeat;
    height: 100vh;
}

.main .container {
    padding-top: 100px;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-content {
    max-width: 760px;
}

.main-title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 60px;
    line-height: 79%;
    letter-spacing: 0.01em;
    color: #000;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 36px;
}

.main-description {
    max-width: 530px;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 169%;
    color: #000;
    margin-bottom: 36px;
}

.main-link {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 22px;
    line-height: 155%;
    color: #000;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* about */
.about {
    padding: 50px 0;
    background-image: url("../img/about-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.about-title {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 42px;
    line-height: 123%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-align: center;
    color: #000;
    margin-bottom: 70px;
}

.about .wrap + .wrap {
    margin-top: 90px;
}

.about-items {
    display: flex;
    justify-content: center;
    gap: 70px;
}

.about-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.wrap:nth-child(1) .about-item {
    max-width: 330px;
}

.wrap:nth-child(1) .about-item-title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    color: #000;
}

.wrap:nth-child(1) .about-item-text {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.17em;
    text-align: center;
    color: #000;
}

.about-item {
    max-width: 360px;
}

.about-item-title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 143%;
    text-align: center;
    color: #000;
}

.about-item-text {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 155%;
    text-align: center;
    color: #000;
}

.wrap:nth-child(3) {
    padding-bottom: 70px;
}

/* main-2 */
.main-2 {
    padding-top: 0;
    height: 90vh;
    background-image: url("../img/main-bg-2.png");
}

.main-text {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 26px;
    line-height: 155%;
    color: #000;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

/* contact */
.contact {
    padding: 30px 0;
}

.contact .wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.contact-image {
    max-width: 473px;
}

.contact-image img {
    border-radius: 10px;
}

.contact-info {
    max-width: 564px;
}

.contact-text + .contact-text {
    margin-top: 47px;
}

.contact-text {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 201%;
    color: #000;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}


/* reviews */
.reviews {
    padding: 85px 0 210px 0;
    background-image: url("../img/review-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.review-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 44px;
}

.review-item {
    padding: 31px 51px;
    max-width: 1086px;
    display: flex;
    gap: 14px;

    border: 1px solid #fff;
    border-radius: 13px;
    backdrop-filter: blur(10px);
    background: rgba(55, 55, 51, 0.58);
}

.review-item-info {
    max-width: 823px;
}

.review-item-image {
    min-width: 147px;
}

.review-item-name {
    display: flex;
    gap: 14px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 201%;
    color: #000;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.review-item-rating {
    margin-bottom: 10px;
}

.review-item-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 26px;
    line-height: 155%;
    color: #000;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.footer {
    padding: 48px 0;
    text-align: center;
}

.logo {
    display: block;
    margin-bottom: 20px;
}

.terms {
    display: block;
    max-width: 200px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 186%;
    letter-spacing: 0.07em;
    text-align: center;
    color: #ff8562;
    margin: 0 auto 20px;
    transition: .2s ease-in-out;
}

.terms:hover {
    text-decoration: underline;
    transition: .2s ease-in-out;
}

.pp {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 186%;
    letter-spacing: 0.07em;
    text-align: center;
    color: #000;
    margin: 0 auto;
}

.prod-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.prod-button:last-child {
    color: #000000;
    border: 1px solid #000000;
    background-color: transparent;
    border-radius: 4px;
}

.prod-button {
    display: block;
    width: 120px;
    padding: 10px;
    color: #ffffff;
    background-color: #000000;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Основные стили для попапа */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    padding: 100px 50px;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
    font-size: 40px;
    font-weight: bold;
}

.popup-description {
    width: 700px;
    overflow-y: auto;
    height: 100%;
}

.swiper-container {
    width: 700px;
    height: 500px;
    overflow: hidden;
    margin: 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-height: 500px;
    display: block;
    margin: 0 auto;
}

.swiper-pagination-bullet-active {
    background-color: black;
}

.swiper-button-next,
.swiper-button-prev {
    color: black;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 30px;
}

.popup-description h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.popup-description h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.popup-description p {
    margin-bottom: 30px;
}

.popup-description b {
    display: block;
    margin: 15px 0;
}

.popup-description p span {
    display: block;

    & +& {
        margin-top: 10px;
    }
}

.popup-description .prod-button {
    margin-top: -10px;
    margin-bottom: 30px;
}

.no-scroll {
    overflow: hidden;
}

@media screen and (max-width: 1023px) {
    .popup-content {
        padding: 30px 15px;
        flex-direction: column;
        justify-content: flex-start;
    }

    .popup-description {
        max-width: 100%;
        width: auto;
        padding-right: 10px;
    }

    .popup-content .prod-button {
        width: 100%;
    }

    .swiper-container {
        width: 320px;
        height: 500px;
        overflow: hidden;
    }

    .swiper-slide img {
        max-height: 400px;
    }
}

/* Стили для кнопки регистрации */
.register-btn {
    background: #4a8300;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: #4a8300;
    transform: translateY(-2px);
}

/* Стили для попапа регистрации */
.register-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.register-popup-overlay.active {
    display: flex;
}

.register-popup-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.register-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-popup-close svg {
    width: 20px;
    height: 20px;
}

.register-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.register-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: #4a8300;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.radio-label input[type="radio"] {
    display: none;
}

.dev {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(230, 230, 230, 0.8);

}

.dev img {
    width: 20px;
}

.radio-custom {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #e1e1e1;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #4a8300;
    background: #4a8300;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.register-submit-btn {
    width: 100%;
    background: #4a8300;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.register-submit-btn:hover {
    background: #0056cc;
    transform: translateY(-2px);
}

/* Адаптивность для попапа регистрации */
@media screen and (max-width: 768px) {
    .register-popup-content {
        padding: 30px 20px;
        margin: 20px;
    }

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

    .form-group input[type="text"],
    .form-group input[type="email"] {
        font-size: 14px;
        padding: 10px;
    }

    .radio-label {
        font-size: 14px;
    }
}

.partners-reg {
    max-width: 500px;
    width: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    margin: auto;
    background: #fbfffb;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.partners-reg-icon {
    max-width: 100px;
    width: 100%;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.partners-reg-icon img {
    width: 100%;
}

.partners-reg-title {
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
}

.partners-reg-btn {
    text-align: center;
    max-width: 200px;
    margin: auto;
    background: transparent;
    border: 2px solid #4a8300;
    color: #4a8300;
}

.partners-reg-btn:hover {
    color: #fff;
}

.navigation-item {
    position: relative;
}

.navigation-link {
    cursor: pointer;
}

.mini-menu {
    display: none;
    position: absolute;
    z-index: 20;
    top: 50px;
    left: 50%;
    width: 300px;
    transform: translateX(-50%);
}

.mini-menu.active {
    display: block;
}

.mini-menu .partners-reg-btn {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #4a8300;
    background: transparent;
    border: 2px solid #4a8300;
    transition: all 0.3s ease;
}

.header .wrapper {
    display: none;
    gap: 10px;
    align-items: center;
}

.mobile-navigation-item {
    display: none;
}

/* cart */
.cart-indicator {
    position: absolute;
    top: 50%;
    right: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transform: translateY(-50%);
}

.cart-indicator img {
    max-width: 30px;
}

.cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-count {
    position: absolute;
    top: -4px;
    left: -4px;
    background: #ff4d4f;
    color: #fff;
    border-radius: 999px;
    padding: 2px;
    font-size: 12px;
    line-height: 1;
    min-width: 20px;
    text-align: center;
}

/* Cart modal overlay */
#cart-modal {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

/* Main container */
.cart-container {
    background: #fff;
    max-width: 900px;
    width: 90%;
    margin: 40px auto;
    border-radius: 16px;
    overflow: hidden;
}

.cart-container .wrapper {
    height: max-content;
    max-height: 600px;
    overflow-y: scroll;
}

/* Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #000;
    color: #fff;
}

.cart-header h3 {
    margin: 0;
    font-size: 20px;
}

#cart-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Cart contents */
#cart-contents {
    padding: 20px;
}

/* Checkout section */
#checkout {
    padding: 20px;
    border-top: 1px solid #eee;
}

#checkout h4 {
    margin: 0 0 12px 0;
    text-align: center;
}

#checkout label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

#checkout-email {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 6px;
}

.checkout-note {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}

#checkout-doc {
    display: block;
    margin-bottom: 8px;
}

.checkout-allowed {
    font-size: 12px;
    color: #555;
    margin-bottom: 12px;
}

#place-order {
    width: 100%;
    padding: 12px 16px;
    background: #4c8300;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

#checkout-error {
    color: #d93025;
    margin-top: 10px;
    display: none;
    text-align: center;
}

.cart-empty {
    text-align: center;
    color: #555;
    padding: 30px;
}

.cart-table-wrap {
    overflow-x: auto;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-th-item {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.cart-th {
    padding: 8px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.cart-th-action {
    padding: 8px;
    border-bottom: 1px solid #eee;
    width: 1%;
}

.cart-td {
    padding: 8px;
    border-bottom: 1px solid #f2f2f2;
}

.cart-td-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
}

.cart-title {
    font-weight: 600;
}

.cart-td-qty {
    white-space: nowrap;
    text-align: center;
}

.qty-btn {
    padding: 4px 8px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.qty-val {
    display: inline-block;
    min-width: 24px;
    text-align: center;
    margin: 0 4px;
}

.cart-td-num {
    text-align: center;
}

.cart-td-action {
    text-align: right;
}

.remove-item {
    padding: 6px 10px;
    border: 0;
    background: #ff4d4f;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.cart-total {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
    font-weight: 800;
}

.cart-total-sum {
    margin-left: 8px;
}

.thank-you-message {
    text-align: center;
    padding: 30px;
    font-size: 16px;
    color: #333;
}

.footer-counters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0;
}

.counter-box {
    background: #f6f7f9;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}

.counter-label {
    font-size: 12px;
    color: #666;
}

.counter-value {
    font-size: 20px;
    font-weight: 800;
}

.file-upload {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.btn {
    background: #4c8300;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
}

.btn:hover {
    background: #4c8300;
}

.file-name {
    font-size: 12px;
    min-width: 180px;
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clear-btn {
    border: 0;
    background: transparent;
    text-decoration: underline;
    cursor: pointer;
}

.clear-btn[hidden] {
    display: none;
}




