/* ===== Base / Light modern theme ===== */
:root {
    --bg: #f7f4ef;
    --bg-soft: #f0ebe3;
    --card: #ffffff;
    --text: #1f1f1f;
    --muted: #6b6560;
    --accent: #c45c6a;
    --accent-dark: #a84452;
    --gold: #d4a84b;
    --gold-soft: #f5e6c8;
    --border: #ebe4da;
    --shadow: 0 10px 30px rgba(40, 30, 20, 0.08);
    --radius: 16px;
    --radius-sm: 12px;
    --max: 480px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: #e8e2d8;
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    cursor: default;
    -webkit-font-smoothing: antialiased;
}

.main_wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: var(--max);
    background: var(--bg);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

b {
    font-weight: 700;
}

a {
    color: inherit;
}

/* ===== Buttons ===== */
.button {
    display: block;
    margin: 12px auto;
    width: calc(100% - 48px);
    max-width: 360px;
    height: 58px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, #e07a88 100%);
    box-shadow: 0 10px 24px rgba(196, 92, 106, 0.35);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 58px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(196, 92, 106, 0.4);
}

.button:active {
    transform: translateY(0);
}

/* ===== Titles ===== */
h2.title {
    margin: 0 0 22px;
    padding: 0 24px;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text);
}

h2.title:after {
    display: block;
    content: '';
    margin: 12px 0 0;
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
}

h2.title span {
    color: var(--accent);
}

.separator {
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
}

/* ===== Header / Offer ===== */
.header {
    padding: 0 0 28px;
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.header--title {
    padding: 14px 20px;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), #e07a88);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.header--info-block {
    padding-top: 0;
    position: relative;
    background: #fff;
}

.header--info-block img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.info-block--subtitle {
    padding: 14px 20px;
    width: 100%;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.header--price-block {
    margin: 0;
    display: flex;
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.price-block--old,
.price-block--new {
    float: none;
    width: 50%;
    height: auto;
    padding: 18px 12px 16px;
    text-align: center;
}

.price-block--old {
    background: var(--bg-soft);
}

.price-block--new {
    background: var(--gold-soft);
}

.price-block--old .text,
.price-block--new .text {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.2;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.price-block--old .value,
.price-block--new .value {
    font-weight: 800;
    font-size: 26px;
    line-height: 1.1;
}

.price-block--old .value {
    text-decoration: line-through;
    color: #999;
}

.price-block--new .value {
    color: var(--text);
}

.header--discount {
    padding: 10px 0 0;
    width: 84px;
    height: 84px;
    background: linear-gradient(145deg, var(--accent), #e07a88);
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -42px 0 0 -42px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(196, 92, 106, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.header--discount .text {
    margin: 0;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.header--discount .value {
    margin: 4px 0 0;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
}

.header ul {
    padding: 22px 28px 8px;
    margin: 0;
    list-style: none;
}

.header ul li {
    margin: 0 0 12px;
    padding: 0 0 0 28px;
    color: var(--text);
    position: relative;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.header ul li:last-child {
    margin: 0;
}

.header ul li:before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
    position: absolute;
    top: 1px;
    left: 0;
    border: none;
    transform: none;
}

/* ===== Timer ===== */
.timer__head {
    display: flex;
    justify-content: center;
    margin: 8px 0 10px;
}

.timer__head .h2 {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.timer-container {
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto 20px;
}

.timer-container .timer-item {
    text-align: center;
}

.timer-container .timer {
    background: linear-gradient(180deg, #2a2a2a, #444);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 56px;
    text-align: center;
    font-size: 1.4rem;
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    color: #fff;
    box-shadow: var(--shadow);
}

.timer-container .timer-label {
    font-weight: 500;
    text-align: center;
    display: block;
    min-width: 64px;
    font-size: 11px;
    margin-top: 6px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.products_count {
    padding: 12px 24px 4px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
}

.products_count b {
    margin: 0 4px;
    padding: 3px 8px;
    background: var(--gold);
    font-size: 14px;
    color: #fff;
    border-radius: 6px;
}

.promo-dates {
    margin: 16px 24px 8px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    box-shadow: var(--shadow);
}

.promo-dates b {
    display: inline-block;
    margin: 4px 0;
    padding: 4px 10px;
    background: var(--gold-soft);
    color: #5a4510;
    border-radius: 6px;
    font-weight: 700;
}

/* ===== Size chart ===== */
.size-section {
    padding: 36px 0 28px;
    background: #fff;
}

.size-section .title {
    text-align: left;
}

.size-note {
    padding: 0 24px 14px;
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.size-table-wrap {
    margin: 0 16px;
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.size-table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    font-size: 12px;
    line-height: 1.35;
}

.size-table thead th {
    background: linear-gradient(135deg, var(--accent), #e07a88);
    color: #fff;
    font-weight: 700;
    padding: 12px 8px;
    text-align: center;
    white-space: nowrap;
}

.size-table thead th:first-child {
    text-align: left;
    padding-left: 12px;
}

.size-table tbody td,
.size-table tbody th {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--text);
    background: #fff;
}

.size-table tbody td:first-child,
.size-table tbody th:first-child {
    text-align: left;
    padding-left: 12px;
    font-weight: 500;
    color: var(--muted);
    font-size: 11px;
    max-width: 140px;
}

.size-table tbody tr:nth-child(even) td,
.size-table tbody tr:nth-child(even) th {
    background: var(--bg);
}

.size-table tbody tr.group-row td {
    background: var(--bg-soft);
    color: var(--accent-dark);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    padding: 10px 12px;
}

.size-hint {
    margin: 16px 24px 0;
    padding: 12px 14px;
    background: var(--gold-soft);
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-align: center;
    color: #5a4510;
}

/* ===== Characteristics ===== */
.characteristics {
    padding: 28px 0;
    background: var(--bg);
}

.characteristics-list {
    margin: 0 16px;
    padding: 0;
    list-style: none;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.characteristics-list li {
    padding: 16px 20px;
    text-align: right;
    position: relative;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.characteristics-list li:last-child {
    border-bottom: none;
}

.characteristics-list li:nth-child(odd) {
    background: #faf8f5;
}

.characteristics-list li:before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    box-shadow: none;
    border: none;
}

.characteristics-list li b {
    float: left;
    margin-left: 14px;
    color: var(--text);
}

/* ===== Color catalog ===== */
.colors-section {
    padding: 32px 0 12px;
    background: #fff;
}

.catitem {
    width: calc(100% - 32px);
    max-width: 420px;
    margin: 0 auto 28px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    padding-bottom: 16px;
}

.catitem .color-label {
    margin: 0;
    padding: 16px 18px 8px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text);
}

.catitem .color-label span {
    color: var(--accent);
}

.catitem .slider {
    margin: 0 0 12px;
}

.catitem .slider img {
    width: 100%;
    border-radius: 0;
}

.catitem > .clearfix {
    width: 100%;
    margin: 0;
    padding: 8px 16px 4px;
}

.catitem > .clearfix h3 {
    display: block;
    font-size: 16px;
    border-left: 4px solid var(--accent);
    padding: 0 0 0 10px;
    line-height: 1.3;
    width: 45%;
    float: left;
    margin: 10px 0 0;
    font-weight: 700;
}

.catprice {
    width: 55%;
    float: right;
    text-align: center;
}

.cp-left {
    width: 40%;
    float: left;
    padding-top: 4px;
}

.cp-left span {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    padding: 2px 6px;
}

.cp-left p {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: line-through;
    color: #999;
    margin: 4px 0 0;
}

.cp-right {
    width: 60%;
    float: right;
}

.cp-right span {
    font-size: 11px;
    color: var(--muted);
}

.cp-right p {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    margin: 2px 0 0;
    color: var(--text);
}

/* ===== Slider arrows ===== */
.slider .owl-prev,
.slider .owl-next {
    width: 64px;
    height: 64px;
    background-color: transparent;
    background-image: url(../images/slider__arrows.png);
    background-repeat: no-repeat;
    background-size: 160px 64px;
    position: absolute;
    top: 50%;
    margin-top: -32px;
    outline: none;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    z-index: 5;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.slider .owl-prev:hover,
.slider .owl-next:hover {
    transform: scale(1.06);
    filter: brightness(1.02);
}

.slider .owl-prev:active,
.slider .owl-next:active {
    transform: scale(0.98);
}

button.owl-next,
button.owl-prev {
    outline: none;
    border: 0;
}

.slider .owl-prev {
    background-position: 0 center;
    left: 6px;
}

.slider .owl-next {
    background-position: -96px center;
    right: 6px;
}

/* ===== Reviews ===== */
.reviews3_section {
    padding: 32px 16px;
    background: var(--bg);
}

.reviews3_section h2.title {
    padding: 0 8px;
    background: none;
}

.reviews3_section .reviews_list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.reviews3_section .review_item {
    margin: 0;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.reviews3_section .author_block {
    margin: 0 0 14px;
}

.reviews3_section .author_block img {
    display: block;
    float: left;
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold-soft);
}

.reviews3_section .author_info {
    float: left;
    margin: 6px 0 0 12px;
}

.reviews3_section .author_block .name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}

.reviews3_section .author_block .text {
    font-size: 12px;
    color: var(--muted);
}

.reviews3_section .author_block .info {
    margin: 6px 0 0;
    float: right;
    text-align: right;
}

.reviews3_section .author_block .rating {
    margin: 0 0 6px auto;
    width: 76px;
    height: 12px;
    background: url(../images/reviews3__stars.png) center no-repeat;
}

.reviews3_section .author_block .date {
    font-size: 12px;
    color: var(--muted);
}

.reviews3_section .review_item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #444;
}

/* ===== Order steps ===== */
.order {
    padding: 32px 0 8px;
    background: #fff;
}

.order .title {
    padding: 0 24px;
}

.order--list {
    border-top: none;
    background: transparent;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 16px 16px;
}

.order--item {
    float: none;
    margin: 0;
    padding: 20px 16px;
    width: auto;
    height: auto;
    min-height: 160px;
    box-shadow: none;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.order--item img {
    display: block;
    width: 40px;
    height: auto;
}

.order--item .separator {
    margin: 12px 0 10px;
}

.order--item h4 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0 0 6px;
    color: var(--text);
}

.order--item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
}

/* ===== Order form ===== */
.order-form-section {
    padding: 8px 0 28px;
    background: linear-gradient(180deg, var(--bg) 0%, #fff 40%);
}

.order_form {
    padding: 8px 0 0;
}

.field {
    display: block;
    margin: 0 auto 14px;
    padding: 0 16px 0 52px;
    width: calc(100% - 48px);
    max-width: 360px;
    height: 56px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--text);
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 92, 106, 0.15);
}

select.field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6560' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.field[name='name'] {
    background: #fff url(../images/offer__name_icon.png) 16px center no-repeat;
    background-size: 18px;
}

.field[name='phone'] {
    margin: 0 auto 14px;
    background: #fff url(../images/offer__phone_icon.png) 16px center no-repeat;
    background-size: 18px;
}

.field::-webkit-input-placeholder {
    opacity: 1;
    color: #999;
}

.field:focus::-webkit-input-placeholder {
    opacity: 0.5;
}

/* Honeypot */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* ===== Upsell block ===== */
.upsell-box {
    width: calc(100% - 48px);
    max-width: 360px;
    margin: 4px auto 18px;
    padding: 16px 16px 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.upsell-box.is-checked {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(196, 92, 106, 0.18);
    background: #fffafb;
}

.upsell-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.upsell-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 2px 0 0;
    border: 2px solid #cfc6bb;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.15s ease;
}

.upsell-label input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.upsell-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.upsell-content {
    flex: 1;
    min-width: 0;
}

.upsell-title {
    font-weight: 800;
    font-size: 15px;
    line-height: 1.3;
    color: var(--text);
    margin: 0 0 4px;
}

.upsell-title .price-tag {
    color: var(--accent);
    white-space: nowrap;
}

.upsell-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 8px;
}

.upsell-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0 0 8px;
}

.upsell-hint {
    font-size: 12px;
    line-height: 1.45;
    color: #9a9188;
    margin: 0;
    font-style: italic;
}

.order-total {
    width: calc(100% - 48px);
    max-width: 360px;
    margin: 0 auto 16px;
    padding: 12px 16px;
    background: var(--bg-soft);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.order-total strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

/* ===== Footer ===== */
.footer_section {
    padding: 22px 16px;
    background: #fff;
    border-top: 1px solid var(--border);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    color: var(--muted);
}

.footer_section a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== Misc legacy ===== */
.paymentOptions {
    padding: 40px 16px;
    background-color: white;
}

.paymentOptions h2 {
    color: black;
    font-size: 28px;
    text-align: center;
}

.paymentOptions p {
    text-align: center;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

/* description / benefits leftovers */
.description,
.benefits {
    padding: 28px 0 0;
    background: #fff;
}

.description .title,
.benefits .title {
    padding: 0 24px;
}

.description p {
    padding: 0 24px 24px;
}

.benefits-list {
    margin: 0 8px;
    font-size: 0;
    text-align: center;
}

.benefit-item {
    display: inline-block;
    vertical-align: top;
    padding: 0 8px 24px;
    width: 50%;
    font-size: 14px;
    line-height: 1.4;
}

.benefit-item img {
    display: block;
    margin: 0 auto 12px;
    border-radius: 10px;
}

/* video */
.video_block {
    margin: 0 0 24px;
    width: 100%;
    height: 270px;
    background-color: #000;
    overflow: hidden;
    position: relative;
}

.video_block iframe,
.video_block object,
.video_block embed {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Responsive wider screens */
@media (min-width: 520px) {
    body {
        padding: 24px 0;
        background: #ddd5c8;
    }

    .main_wrapper {
        border-radius: 20px;
    }
}
