/* ============================================================
   senior.css — слой поверх оригинальных стилей сайта.
   Задача: крупно, контрастно, логично — для покупателей
   старшего возраста. Оригинальные файлы не трогаем.
   ============================================================ */

:root {
    --ink:        #1a1a1a;   /* основной текст            */
    --ink-soft:   #41474f;   /* второстепенный текст      */
    --accent:     #c62828;   /* красный, контраст 6.4:1   */
    --line:       #d8dce1;
    --surface:    #f4f6f8;
    --dark:       #313642;
    --dark-2:     #4a4e5a;
    --ok:         #1e7a3c;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 1. База: резиновая ширина и читаемый шрифт ---------- */

body,
body .product-page {
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink);
}

.wrap {
    width: 100%;
    max-width: 480px;
}

/* Единая сетка отступов по бокам */
.hero,
.save-box,
.b2,
.b3,
.b-guarantee,
.b-delivery,
.b7,
.b8 {
    padding-left: 16px;
    padding-right: 16px;
}

/* ---------- 2. Заголовки секций ---------- */

.sec-title,
h2.title {
    margin: 0 0 18px;
    hyphens: none;
    padding: 0;
    font-family: 'Bebas Neue';
    font-weight: 700;
    font-size: 34px;
    line-height: 1.1;
    text-align: center;
    text-wrap: balance;      /* строки делятся ровно, без «висячих» слов */
    color: var(--ink);
}

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

.b3 .sec-title,
.b5 .title,
.b7 .sec-title {
    color: #ffffff;
}

.b5 .title > span {
    color: #fdd800;
}

/* ---------- 3. Текстовые абзацы ---------- */

.sec-text,
.b2 > p,
.b3 p {
    margin: 0 0 16px;
    padding: 0;          /* в style.css у .b2 > p стоял padding: 20px */
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    text-wrap: pretty;       /* не оставляет одно слово на последней строке */
    max-width: 34em;
}

/* ---------- 4. Кнопка заказа ---------- */

.cta,
.button-m {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 386px;
    min-height: 72px;
    margin: 0 auto;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 0 0 #c6a800;
    background: linear-gradient(to bottom, #fbf503 0%, #fbd503 100%);
    color: #1a1a1a;
    font-family: 'Bebas Neue';
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .5px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: none;
    cursor: pointer;
    transition: background-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}

.cta:hover,
.button-m:hover {
    background: linear-gradient(to bottom, #fbd503 0%, #f0c800 100%);
}

.cta:active,
.button-m:active {
    top: 2px;
    box-shadow: 0 2px 0 0 #c6a800;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid #1565c0;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ============================================================
   5. ГЛАВНЫЙ ЭКРАН
   ============================================================ */

.hero {
    padding-top: 26px;
    padding-bottom: 30px;
    text-align: center;
    background: #ffffff;
}

.hero-kicker {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: .2px;
    color: var(--ink-soft);
    text-wrap: balance;
}

.hero-title {
    margin: 0 0 10px;
    font-family: 'Bebas Neue';
    font-size: 62px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    color: #1565c0;
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke: 0;
    text-transform: uppercase;
}

.hero-sub {
    margin: 0 auto 20px;
    max-width: 21em;
    font-size: 19px;
    line-height: 1.45;
    color: var(--ink);
    text-wrap: balance;
}

.hero-photo {
    position: relative;
    margin: 0 0 22px;
}

.hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 360px;
    margin: 0 auto;
}

.hero-badge {
    position: absolute;
    top: 0;
    right: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-family: 'Bebas Neue';
    line-height: 1;
    text-transform: uppercase;
}

.hero-badge b {
    font-size: 34px;
    font-weight: 700;
}

.hero-badge span {
    margin-top: 2px;
    font-size: 16px;
    letter-spacing: 1px;
}

/* ---------- Ценник ---------- */

.hero-price {
    display: flex;
    max-width: 386px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
}

.hero-price .hp-old,
.hero-price .hp-new {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    padding: 12px 8px;
}

.hero-price .hp-old {
    background: #242628;
    color: #ffffff;
}

.hero-price .hp-new {
    background: var(--accent);
    color: #ffffff;
}

.hero-price .hp-label {
    margin-bottom: 4px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    text-transform: none;
    opacity: .85;
}

.hero-price s {
    font-family: 'Bebas Neue';
    font-size: 30px;
    line-height: 1;
    letter-spacing: .5px;
}

.hero-price b {
    font-family: 'Bebas Neue';
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .5px;
}

/* ---------- Строка доверия ---------- */

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.hero-trust li {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink-soft);
}

.hero-note {
    margin: 18px auto 0;
    max-width: 32em;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    text-wrap: pretty;
}

/* ---------- Скидка на две штуки ---------- */

.save-box {
    width: auto;
    margin: 0 16px 28px;
    padding: 20px 18px 22px;
    border: 3px solid #f8e30a;
    border-radius: 12px;
    background: #fffdf0;
    text-align: center;
}

.save-box .sec-title {
    margin-bottom: 10px;
}

.save-line {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.35;
    color: var(--ink);
}

.save-line b {
    font-size: 26px;
    font-weight: 700;
}

.save-note {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-soft);
    text-wrap: pretty;
}

/* ============================================================
   6. КОНТЕНТНЫЕ СЕКЦИИ
   ============================================================ */

.b2 {
    padding-top: 28px;
    padding-bottom: 30px;
    background: #ffffff;
}

.b3 {
    padding-top: 28px;
    padding-bottom: 32px;
    margin-top: 0;
    background: var(--dark);
    color: #ffffff;
}

.sec-figure {
    margin: 0 0 20px;
    text-align: center;
}

.sec-figure img,
.sec-figure video {
    display: block;
    width: 100%;
    height: auto;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 10px;
}

.sec-figure figcaption {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--ink-soft);
    text-align: center;
}

.sec-video video {
    max-width: 260px;          /* вертикальное видео 9:16 */
    background: #000;
}

/* ---------- Характеристики ---------- */

.specs {
    margin: 0 0 26px;
    padding: 0;
}

.specs > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.specs > div:last-child {
    border-bottom: none;
}

.specs dt {
    flex: 0 1 auto;
    font-size: 17px;
    color: #c3c8d1;
}

.specs dd {
    flex: 0 1 auto;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    text-align: right;
    color: #ffffff;
}

/* ============================================================
   7. ЧТО ВЫ ПОЛУЧИТЕ / ДОСТАВКА  (эти блоки уже нравятся)
   ============================================================ */

.b-guarantee {
    padding-top: 28px;
    padding-bottom: 30px;
}

.guarantee-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.guarantee-list li {
    position: relative;
    padding: 0 0 0 40px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink);
    text-align: left;
    text-wrap: pretty;
}

.guarantee-list li svg {
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    color: var(--ok);
}

.g-figure {
    margin: 0 0 22px;
    text-align: center;
}

.g-figure img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 340px;
    margin: 0 auto 10px;
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    background: #fff;
}

.g-figure figcaption {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-soft);
    text-wrap: pretty;
}

.b-delivery {
    padding-top: 28px;
    padding-bottom: 30px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.delivery-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.delivery-list li {
    display: block;
    background: #ffffff;
    border: 2px solid #d3d8de;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

.delivery-list .d-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.delivery-list .d-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 34px;
    max-width: 62%;
}

.delivery-list .d-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.delivery-list .d-note {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink-soft);
    text-wrap: pretty;
}

.delivery-pay {
    margin: 18px 0 0;
    padding: 16px 18px;
    background: #e8f4ea;
    border: 2px solid #9cc9a6;
    border-radius: 10px;
    font-size: 18px;
    line-height: 1.55;
    color: #1a3d24;
    text-align: left;
    text-wrap: pretty;
}

/* ============================================================
   8. КАК ЗАКАЗАТЬ / ОТЗЫВЫ
   ============================================================ */

.b5 {
    height: auto;
    padding: 28px 0 24px;
    background-image: none;
    background-color: var(--dark-2);
}

.ship p {
    font-size: 18px;
    line-height: 1.5;
}

.b6 {
    padding: 28px 0 30px;
}

.b6 .sec-title {
    padding: 0 16px;
}

/* Слайдер отзывов: нативный горизонтальный свайп + стрелки, без библиотек */

.rev-slider {
    position: relative;
}

.rev-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 0 16px;
}

.rev-track::-webkit-scrollbar {
    display: none;
}

.rev-slide {
    /* чуть уже контейнера — из-за края выглядывает следующий отзыв,
       так видно, что блок листается */
    flex: 0 0 calc(100% - 26px);
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.rev-slide img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.rev-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(26, 26, 26, .82);
    color: #ffffff;
    cursor: pointer;
    z-index: 2;
    transition: background-color .2s, opacity .2s;
}

.rev-nav svg {
    width: 26px;
    height: 26px;
}

.rev-nav:hover {
    background: rgba(26, 26, 26, .95);
}

.rev-nav[disabled] {
    opacity: .28;
    cursor: default;
}

.rev-prev { left: 6px; }
.rev-next { right: 6px; }

.rev-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.rev-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #c9ced6;
}

.rev-dot.is-on {
    background: var(--accent);
}

/* ============================================================
   9. ФОРМА ЗАКАЗА
   ============================================================ */

.b7 {
    padding-top: 22px;
    padding-bottom: 18px;
    background: var(--dark);
    border-bottom: 1px solid #555963;
}

.b7 .sec-title {
    margin: 0;
    font-size: 40px;
}

.b8 {
    padding-top: 26px;
    padding-bottom: 26px;
    background: var(--dark);
    border-bottom: 1px solid #484b54;
}

.order-photo {
    margin: 0 0 20px;
    text-align: center;
}

.order-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 10px;
}

.hero-price.on-dark {
    margin-bottom: 18px;
}

.order-lead {
    max-width: 386px;
    margin: 0 auto 20px;
    font-size: 18px;
    line-height: 1.5;
    color: #e7e9ee;
    text-align: center;
    text-wrap: pretty;
}

.m1-form {
    width: 100%;
    max-width: 386px;
    margin: 0 auto;
}

.field-label {
    display: block;
    margin: 0 0 8px;
    padding: 0 2px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
}

.m1-form input.field,
.m1-form select.input {
    height: 68px;
    line-height: 68px;
    margin-bottom: 20px;
    font-size: 19px;
    font-family: var(--sans);
    border: 2px solid #b9bec7;
    border-radius: 8px;
}

.m1-form input.field:focus,
.m1-form select.input:focus {
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, .35);
}

.order-legal {
    max-width: 386px;
    margin: 20px auto 0;
    font-size: 14px;
    line-height: 1.5;
    color: #a9afba;
    text-align: left;
    text-wrap: pretty;
}

/* ---------- Подвал ---------- */

.footer {
    padding: 20px 0 30px;
}

.footer a {
    display: inline-block;
    padding: 6px 10px;
    font-size: 17px;
    line-height: 2;
    color: #d5d5d6;
}

.order-photo img {
    max-width: 300px;
}

.order-photo figcaption {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.45;
    color: #c3c8d1;
    text-align: center;
}

.save-line,
.hero-price s,
.hero-price b {
    text-wrap: balance;
}
