:root {
    --ink: #252722;
    --muted: #73766d;
    --cream: #f7f3eb;
    --milk: #fffdf9;
    --sage: #75806b;
    --sage-dark: #4e5947;
    --mocco: #9b715d;
    --line: #e8e2d8;
    --white: #fff;
    --success: #4f7958;
    --danger: #b54f47;
    --shadow: 0 16px 42px rgba(54, 48, 38, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #ece8e0;
    color: var(--ink);
    font-family: 'AvenirNextCyr', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }

.main_wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: var(--milk);
    box-shadow: 0 0 50px rgba(44, 39, 30, .12);
    overflow: hidden;
}

.site_header {
    height: 66px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 253, 249, .96);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: .02em; }
.brand_mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50% 50% 50% 8px; background: var(--sage-dark); color: white; font-family: Georgia, serif; font-style: italic; }
.header_note { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.hero_visual { position: relative; margin: 0 12px; border-radius: 28px; overflow: hidden; background: #e8e8e5; }
.hero_visual img { width: 100%; height: min(128vw, 590px); object-fit: cover; object-position: center 18%; }
.discount_badge { position: absolute; top: 15px; right: 15px; width: 86px; height: 86px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--mocco); color: white; transform: rotate(4deg); box-shadow: 0 9px 24px rgba(61, 44, 34, .25); }
.discount_badge strong { font-size: 27px; line-height: 1; }
.discount_badge span { margin-top: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.hero_stock { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 100px; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.hero_stock i { width: 7px; height: 7px; border-radius: 50%; background: #5a9664; box-shadow: 0 0 0 4px rgba(90,150,100,.15); }
.hero_content { padding: 27px 20px 31px; }
.eyebrow { margin: 0 0 8px; color: var(--mocco); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }
h1 { margin-bottom: 13px; font-size: 38px; line-height: 1.05; font-weight: 400; }
h1 em { color: var(--sage-dark); font-weight: 400; }
.hero_lead { margin-bottom: 21px; color: var(--muted); line-height: 1.58; }
.price_row { display: flex; align-items: center; gap: 18px; margin-bottom: 19px; }
.current_price { font-size: 37px; line-height: 1; font-weight: 800; }
.current_price small { font-size: 17px; }
.old_price { display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.old_price span { color: #9a9c95; text-decoration: line-through; }
.old_price b { color: var(--success); font-weight: 600; }

.primary_button {
    width: 100%; min-height: 58px; padding: 0 22px; border: 0; border-radius: 17px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: var(--sage-dark); color: white; text-decoration: none; text-align: center;
    font-weight: 700; font-size: 16px; cursor: pointer;
    box-shadow: 0 11px 25px rgba(78, 89, 71, .23); transition: transform .2s, background .2s;
}
.primary_button:active { transform: translateY(2px); }
.primary_button span { font-size: 22px; font-weight: 400; }
.quick_benefits { margin-top: 17px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 13px; }
.quick_benefits span { position: relative; padding-left: 17px; color: #64675e; font-size: 12px; }
.quick_benefits span::before { content: '✓'; position: absolute; left: 0; color: var(--sage); font-weight: 800; }

.section { padding: 48px 20px; }
.section_heading { margin: 0 auto 24px; max-width: 390px; text-align: center; }
.section_heading.left { margin-left: 0; text-align: left; }
.section_heading h2 { margin-bottom: 10px; font-size: 31px; line-height: 1.13; font-weight: 400; }
.section_heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.benefits_section { background: var(--cream); }
.benefit_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.benefit_card { min-height: 190px; padding: 20px 16px; border: 1px solid rgba(121,111,94,.11); border-radius: 20px; background: rgba(255,255,255,.72); box-shadow: 0 8px 22px rgba(62,57,46,.05); }
.benefit_icon { width: 38px; height: 38px; margin-bottom: 15px; display: grid; place-items: center; border-radius: 13px; background: #e7e9e0; color: var(--sage-dark); font-size: 20px; }
.benefit_card h3 { margin-bottom: 7px; font-size: 15px; line-height: 1.25; }
.benefit_card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.gallery_section { padding-left: 12px; padding-right: 12px; }
.gallery_section .section_heading { padding: 0 8px; }
.color_catalog { display: grid; gap: 22px; }
.color_product_card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.color_gallery { position: relative; overflow: hidden; background: #ecebe7; }
.color_photo_strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; background: #ecebe7; }
.color_photo_strip::-webkit-scrollbar { display: none; }
.color_photo_strip figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.color_photo_strip img { width: 100%; height: 500px; object-fit: cover; object-position: center top; }
.gallery_arrow { position: absolute; z-index: 3; top: 50%; width: 42px; height: 42px; margin-top: -21px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); font-family: Arial, sans-serif; font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 5px 16px rgba(37,39,34,.2); backdrop-filter: blur(5px); }
.gallery_arrow.prev { left: 12px; }
.gallery_arrow.next { right: 12px; }
.gallery_arrow:active { transform: scale(.94); }
.photo_counter { position: absolute; z-index: 3; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 100px; background: rgba(37,39,34,.77); color: white; font-size: 10px; font-weight: 600; backdrop-filter: blur(5px); }
.color_card_body { padding: 19px 17px 17px; }
.color_card_header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.color_card_header h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 400; }
.color_card_header .dot { width: 16px; height: 16px; margin: 0; }
.color_card_header > span { position: relative; padding-left: 12px; color: var(--success); font-size: 10px; font-weight: 700; }
.color_card_header > span::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: #69a273; transform: translateY(-50%); }
.available_sizes { margin: 17px 0; padding: 13px; border-radius: 14px; background: #f5f3ee; }
.available_sizes small { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; }
.available_sizes > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.available_sizes b { min-height: 30px; display: grid; place-items: center; border: 1px solid #e2ded5; border-radius: 8px; background: white; font-size: 10px; }
.card_buy_row { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; }
.card_buy_row > div { display: flex; align-items: baseline; gap: 10px; }
.card_buy_row s { color: #a0a29c; font-size: 12px; }
.card_buy_row strong { font-size: 25px; line-height: 1; }
.card_buy_row > span { padding: 5px 8px; border-radius: 8px; background: #eee3da; color: var(--mocco); font-size: 11px; font-weight: 800; }
.color_card_button { min-height: 52px; padding: 0 17px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 14px; background: var(--sage-dark); color: white; text-decoration: none; font-size: 14px; font-weight: 700; }
.color_card_button b { font-size: 19px; font-weight: 400; }

.selection_section { background: #ede9e1; }
.color_choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.choice input, .size_choice input { position: absolute; opacity: 0; pointer-events: none; }
.color_choice { min-height: 54px; padding: 8px 11px; display: flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 15px; background: white; color: #53564f; font-size: 13px; cursor: pointer; transition: .2s; }
.color_choice:has(input:checked) { border-color: var(--sage-dark); box-shadow: 0 0 0 2px rgba(78,89,71,.10); color: var(--ink); }
.color_choice:has(input:checked)::after { content: '✓'; margin-left: auto; color: var(--sage-dark); font-weight: 800; }
.swatch, .dot { display: inline-block; flex: 0 0 auto; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }
.swatch { width: 32px; height: 32px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.55); }
.black { background: #20211f; }.denim { background: #5e6f89; }.mocco { background: #9a715f; }.gray { background: #b8b9b5; }.green { background: #66735b; }.beige { background: #d7c7aa; }.graphite { background: #545654; }
.size_picker { margin: 35px 0 23px; }
.section_heading.compact { margin-bottom: 14px; display: flex; align-items: end; justify-content: space-between; }
.section_heading.compact h2 { margin: 0; font-size: 25px; }
.section_heading.compact a { color: var(--sage-dark); font-size: 12px; font-weight: 600; }
.size_choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.size_choice span { height: 49px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: white; font-size: 13px; font-weight: 700; cursor: pointer; }
.size_choice:has(input:checked) span { border-color: var(--sage-dark); background: var(--sage-dark); color: white; }

.size_section { background: var(--milk); }
.size_table { width: 100%; border-collapse: separate; border-spacing: 0 12px; }
.size_table thead { display: none; }
.size_table tbody, .size_table tr, .size_table td { display: block; }
.size_table tr { padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 7px 20px rgba(60,52,41,.04); }
.size_table td { min-height: 29px; padding: 5px 0 5px 50%; position: relative; text-align: right; font-size: 13px; border-bottom: 1px dashed #ece7de; }
.size_table td:last-child { border-bottom: 0; }
.size_table td::before { content: attr(data-label); position: absolute; left: 0; width: 48%; color: var(--muted); text-align: left; font-size: 11px; }
.size_table td:first-child { margin: -14px -16px 9px; padding: 11px 16px; border: 0; border-radius: 17px 17px 0 0; background: #f0eee8; color: var(--sage-dark); text-align: left; font-size: 18px; font-weight: 800; }
.size_table td:first-child::before { display: none; }
.table_tip { margin: 15px 0 0; padding: 13px 14px; display: flex; gap: 10px; border-radius: 14px; background: #eef0e9; color: #65685f; font-size: 11px; }
.table_tip span { width: 21px; height: 21px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--sage-dark); color: white; font-family: Georgia, serif; font-style: italic; }

.stock_section { padding-left: 12px; padding-right: 12px; background: var(--sage-dark); color: white; }
.stock_section .eyebrow { color: #d9c5b5; }
.stock_table_wrap { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; }
.stock_table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 11px; }
.stock_table th, .stock_table td { padding: 11px 3px; border-right: 1px solid rgba(255,255,255,.09); border-bottom: 1px solid rgba(255,255,255,.09); text-align: center; }
.stock_table th:first-child, .stock_table td:first-child { width: 31%; padding-left: 10px; text-align: left; }
.stock_table th { background: rgba(0,0,0,.13); color: #d6d9d0; font-size: 9px; }
.stock_table td:not(:first-child) { color: #bfe2bd; font-size: 15px; font-weight: 800; }
.stock_table tr:last-child td { border-bottom: 0; }
.stock_table th:last-child, .stock_table td:last-child { border-right: 0; }
.dot { width: 10px; height: 10px; margin-right: 5px; vertical-align: -1px; border-color: rgba(255,255,255,.2); }
.stock_legend { margin-top: 14px; color: #d4d7cf; font-size: 10px; }
.stock_legend p { margin: 4px 0; }
.stock_legend b { color: #bfe2bd; font-size: 14px; }.stock_legend .no { color: #e6b2ad; }

.details_section { background: var(--cream); }
.details_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.details_grid div { padding: 15px; border-radius: 15px; background: white; }
.details_grid span, .details_grid strong { display: block; }
.details_grid span { margin-bottom: 4px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.details_grid strong { font-size: 14px; }
.description_box { margin-top: 17px; padding: 21px; border-left: 3px solid var(--mocco); border-radius: 5px 18px 18px 5px; background: #eee7dd; }
.description_box p { margin: 0; color: #55574f; font-size: 14px; line-height: 1.65; }

.occasions_section { background: #fffdf9; }
.occasion_list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.occasion_list span { padding: 10px 13px; border: 1px solid var(--line); border-radius: 100px; background: white; color: #5f625a; font-size: 12px; }

.delivery_section { background: #eee9e1; }
.delivery_steps { display: grid; gap: 9px; }
.delivery_steps article { padding: 15px; display: flex; gap: 14px; align-items: center; border-radius: 17px; background: white; }
.delivery_steps article > b { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #e8eae3; color: var(--sage-dark); font-size: 12px; }
.delivery_steps h3 { margin: 0 0 2px; font-size: 14px; }
.delivery_steps p { margin: 0; color: var(--muted); font-size: 11px; }

.order_section { padding: 48px 20px; background: var(--sage-dark); color: white; }
.order_intro { text-align: center; }
.order_intro .eyebrow { color: #d9c3b3; }
.order_intro h2 { margin-bottom: 10px; font-size: 32px; line-height: 1.12; font-weight: 400; }
.order_intro > p:last-of-type { color: #d8dbd4; font-size: 13px; }
.mini_timer { margin: 20px auto; padding: 12px 16px; border-radius: 15px; display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,.14); color: #e0e2dc; font-size: 11px; }
.mini_timer .timer { display: flex; align-items: center; gap: 4px; }
.mini_timer b { min-width: 25px; font-size: 17px; color: white; }
.mini_timer i { font-style: normal; opacity: .5; }
.form-order { margin-top: 17px; padding: 21px 17px; border-radius: 23px; background: white; color: var(--ink); box-shadow: 0 18px 35px rgba(0,0,0,.13); }
.form-order label { display: block; margin: 0 3px 6px; color: #555850; font-size: 11px; font-weight: 700; }
.form-order .field { width: 100%; height: 54px; margin: 0 0 13px; padding: 0 15px; border: 1px solid #dedbd4; border-radius: 13px; outline: 0; background: #faf9f6; color: var(--ink); font-size: 14px; appearance: auto; }
.form-order .field:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(117,128,107,.13); }
.form-order .primary_button { margin-top: 3px; }
.form_note { margin: 11px 0 0; color: var(--muted); text-align: center; font-size: 10px; }

.footer_section { padding: 31px 20px 105px; background: #242721; color: #d4d6d0; text-align: center; font-size: 11px; }
.footer_section strong { color: white; font-size: 13px; }
.footer_section p { margin: 4px 0 12px; }
.footer_section a { color: #d4d6d0; }

.sticky_cta { position: fixed; z-index: 50; left: 50%; bottom: 0; width: min(480px, 100%); padding: 10px max(13px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(13px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,253,249,.96); border-top: 1px solid var(--line); transform: translateX(-50%); backdrop-filter: blur(12px); box-shadow: 0 -10px 30px rgba(52,47,39,.08); }
.sticky_cta > div { display: flex; flex-direction: column; white-space: nowrap; }
.sticky_cta strong { font-size: 20px; line-height: 1.1; }
.sticky_cta span { color: var(--success); font-size: 10px; }
.sticky_cta s { color: #9b9d97; }
.sticky_cta a { min-height: 46px; padding: 0 16px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--sage-dark); color: white; text-decoration: none; text-align: center; font-size: 12px; font-weight: 700; }

@media (max-width: 360px) {
    h1 { font-size: 33px; }
    .section_heading h2 { font-size: 28px; }
    .benefit_card { min-height: 205px; padding: 17px 13px; }
    .size_choices { grid-template-columns: 1fr 1fr; }
    .stock_table { font-size: 9px; }
    .stock_table th:first-child, .stock_table td:first-child { width: 29%; padding-left: 5px; }
    .color_photo_strip img { height: 440px; }
}

@media (min-width: 700px) {
    body { padding: 22px 0; }
    .main_wrapper { border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
