/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f5f0 0%, #e8e0d5 100%);
    color: #2c1810;
    line-height: 1.4;
}

.main_wrapper {
    max-width: 560px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
    overflow-x: hidden;
}

/* TYPOGRAPHY */
.title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: #2c1810;
}
.title span {
    background: linear-gradient(135deg, #e67e22, #d35400);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

section {
    padding: 40px 20px;
    border-bottom: 1px solid #e0d5c8;
}

/* BUTTONS */
.button, .submit_btn {
    background: #e67e22;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    padding: 16px 24px;
    border-radius: 60px;
    text-decoration: none;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(230,126,34,0.3);
}
.button:hover, .submit_btn:hover {
    background: #d35400;
    transform: scale(0.98);
}

/* HERO */
.offer_section {
    text-align: center;
    padding: 28px 20px 36px;
    background: linear-gradient(135deg, #fff8f0, #fff);
}
.promo_badge {
    background: #e67e22;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}
.main_title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #2c1810;
}
.subtitle {
    color: #7a6a5e;
    margin-bottom: 12px;
}
.discount {
    background: #e67e22;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 700;
    margin: 12px 0;
    color: white;
}
.hero_img {
    width: 100%;
    border-radius: 24px;
    margin: 16px 0;
}

.price_block {
    display: flex;
    justify-content: center;
    gap: 24px;
    background: #f8f0e8;
    padding: 16px 20px;
    border-radius: 40px;
    margin: 16px 0;
}
.price_item.old .value {
    text-decoration: line-through;
    color: #a0a0a0;
}
.price_item.new .value {
    color: #e67e22;
    font-size: 28px;
    font-weight: 800;
}

/* BONUS BLOCK */
.bonus_block {
    background: linear-gradient(135deg, #e67e22, #d35400);
    border-radius: 32px;
    padding: 16px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}
.bonus_image_small {
    flex-shrink: 0;
}
.bonus_image_small img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 5px;
}
.bonus_title {
    font-size: 18px;
    font-weight: 800;
    display: block;
}
.bonus_desc {
    font-size: 12px;
    opacity: 0.9;
}

/* SPECS CAROUSEL */
.specs_section {
    background: #f8f0e8;
    overflow: hidden;
}
.specs_carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.carousel_btn {
    width: 36px;
    height: 36px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    flex-shrink: 0;
}
.carousel_btn:hover {
    background: #d35400;
}
.specs_container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    padding: 4px 0;
    scrollbar-width: none;
}
.specs_container::-webkit-scrollbar {
    display: none;
}
.spec_card {
    min-width: 160px;
    background: white;
    border-radius: 20px;
    padding: 16px;
    text-align: center;
}
.spec_img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin: 0 auto 10px;
}
.spec_label {
    font-size: 11px;
    color: #7a6a5e;
}
.spec_value {
    font-size: 13px;
    font-weight: 700;
    color: #e67e22;
}

/* PRODUCT SECTION */
.product_section {
    padding: 20px;
}
.product_wrapper {
    background: #f8f0e8;
    border-radius: 32px;
    overflow: hidden;
}
.product_container {
    padding: 20px;
}
.product_image {
    position: relative;
    text-align: center;
}
.product_image img {
    width: 100%;
    max-width: 250px;
    border-radius: 20px;
}
.product_sticker {
    position: absolute;
    top: 10px;
    right: 20px;
    background: #e67e22;
    color: white;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 40px;
}
.product_name {
    font-size: 24px;
    font-weight: 800;
    margin: 16px 0 8px;
    color: #2c1810;
}
.product_rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.stars {
    color: #e67e22;
}
.reviews_count {
    font-size: 13px;
    color: #7a6a5e;
}
.product_desc p {
    font-size: 14px;
    color: #2c1810;
    margin-bottom: 16px;
}
.product_features_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.feature {
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #2c1810;
}
.product_prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}
.old_price {
    text-decoration: line-through;
    color: #a0a0a0;
}
.new_price {
    font-size: 28px;
    font-weight: 800;
    color: #e67e22;
}

/* BONUS PRODUCT SECTION */
.bonus_product_section {
    padding: 20px;
}
.bonus_wrapper {
    background: #f8f0e8;
    border-radius: 32px;
    overflow: hidden;
}
.bonus_badge {
    background: #e67e22;
    color: white;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 0 0 16px 16px;
    font-size: 12px;
    font-weight: 700;
}
.bonus_container_center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.bonus_image_center {
    margin-bottom: 20px;
}
.bonus_image_center img {
    max-width: 180px;
    width: 100%;
    border-radius: 20px;
}
.bonus_name {
    font-size: 24px;
    font-weight: 800;
    margin: 16px 0 8px;
    color: #2c1810;
}
.bonus_desc_text p {
    font-size: 14px;
    color: #2c1810;
    margin-bottom: 16px;
}
.bonus_features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}
.bonus_price_tag {
    margin-top: 16px;
}
.bonus_free {
    background: #e67e22;
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 18px;
    display: inline-block;
    text-decoration: none;
}
.bonus_free:hover {
    background: #d35400;
}
.bonus_value {
    color: #7a6a5e;
    font-size: 14px;
    display: block;
    margin-top: 8px;
}

/* ADVANTAGES */
.advantages_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.advantage_card {
    background: #f8f0e8;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}
.adv_icon {
    font-size: 40px;
    margin-bottom: 10px;
}
.advantage_card h4 {
    color: #2c1810;
    margin-bottom: 6px;
}
.advantage_card p {
    font-size: 12px;
    color: #7a6a5e;
}

/* REVIEWS */
.rating_summary {
    text-align: center;
    margin-bottom: 24px;
}
.big_rating {
    font-size: 48px;
    font-weight: 800;
    color: #e67e22;
}
.rating_stars {
    color: #e67e22;
    font-size: 20px;
}
.rating_count {
    font-size: 13px;
    color: #7a6a5e;
}
.reviews_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.review_item {
    background: #f8f0e8;
    padding: 16px;
    border-radius: 20px;
}
.review_header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.reviewer_name {
    font-weight: 700;
    color: #2c1810;
}
.review_rating {
    color: #e67e22;
}
.review_text {
    font-size: 14px;
    color: #2c1810;
    margin-bottom: 8px;
}
.review_date {
    font-size: 11px;
    color: #7a6a5e;
}

/* STEPS */
.steps_row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    min-width: 120px;
    text-align: center;
    background: #f8f0e8;
    padding: 20px;
    border-radius: 24px;
}
.step_num {
    width: 36px;
    height: 36px;
    background: #e67e22;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
}
.step_icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.step h4 {
    color: #2c1810;
}
.step p {
    font-size: 12px;
    color: #7a6a5e;
}

/* FORM */
.form_section {
    background: #fff8f0;
}
.selected_info {
    background: #e67e22;
    color: white;
    padding: 14px;
    border-radius: 40px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
}
.form_hero_img {
    width: 100%;
    max-width: 280px;
    border-radius: 24px;
    margin: 0 auto 20px;
    display: block;
}
.timer_block {
    background: #f8f0e8;
    border-radius: 24px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}
.timer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}
.timer_item {
    background: #2c1810;
    color: white;
    padding: 8px 12px;
    border-radius: 16px;
    min-width: 60px;
}
.timer_item span {
    font-size: 28px;
    font-weight: 700;
}
.stock_block {
    background: #f8f0e8;
    border-radius: 24px;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
}
.total_price_block {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #e67e22;
    margin-bottom: 20px;
}
.order_form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.field {
    width: 100%;
    padding: 16px 20px;
    border-radius: 60px;
    border: 1px solid #e0d5c8;
    background: white;
    font-size: 1rem;
}
.field:focus {
    outline: none;
    border-color: #e67e22;
}
.error_msg {
    color: #e67e22;
    font-size: 12px;
    text-align: center;
    display: none;
}
.delivery_note {
    text-align: center;
    font-size: 12px;
    margin-top: 16px;
    color: #7a6a5e;
}

/* FOOTER */
.footer {
    background: #2c1810;
    color: #e0d5c8;
    padding: 32px 20px;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
}
.footer a {
    color: #e67e22;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* MODAL */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.image-modal img {
    max-width: 90%;
    max-height: 90%;
}
.image-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 480px) {
    .title {
        font-size: 24px;
    }
    .main_title {
        font-size: 24px;
    }
    .advantages_grid {
        grid-template-columns: 1fr;
    }
    .steps_row {
        flex-direction: column;
    }
    .step {
        min-width: auto;
    }
    .timer_item {
        min-width: 50px;
        padding: 6px 8px;
    }
    .timer_item span {
        font-size: 22px;
    }
    .bonus_image_small img {
        width: 50px;
        height: 50px;
    }
    .bonus_title {
        font-size: 14px;
    }
}