/* ==========================================================================
   Каркас новых макетов (design10+). Каждый макет подключает этот файл и свой
   landing-style-N.css, где задаёт токены (цвета, шрифты, радиусы) и характер.
   Разметка — та же, что у всех макетов темы tovarka: поля и шаблоны не меняются.
   ========================================================================== */

:root {
    --t-bg: #eceff4;
    --t-paper: #ffffff;
    --t-ink: #14171f;
    --t-muted: #5d6475;
    --t-line: rgba(20, 23, 31, 0.1);
    --t-surface: #ffffff;
    --t-surface-2: #f4f6fa;
    --t-accent: #2563eb;
    --t-accent-2: #16a34a;
    --t-on-accent: #ffffff;
    --t-sale: #e11d48;
    --t-btn-bg: var(--t-accent);
    --t-btn-ink: var(--t-on-accent);
    --t-btn-radius: 999px;
    --t-btn-shadow: 0 14px 30px -14px rgba(37, 99, 235, 0.8);
    --t-btn-border: 0;
    --t-radius: 20px;
    --t-radius-sm: 14px;
    --t-shadow: 0 12px 30px -18px rgba(20, 23, 31, 0.35);
    --t-border: 1px solid var(--t-line);
    --t-display: "Segoe UI", Roboto, Arial, sans-serif;
    --t-text: "Segoe UI", Roboto, Arial, sans-serif;
    --t-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --t-title-size: 26px;
    --t-title-weight: 800;
    --t-title-case: none;
    --t-title-align: center;
    --t-title-spacing: -0.01em;
    --t-price-size: 46px;
    --t-gap: 52px;
    --eb-desc: "Про товар";
    --eb-features: "Переваги";
    --eb-steps: "Як це працює";
    --eb-specs: "Параметри";
    --eb-reviews: "★ 4.9 з 5";
    --eb-how: "Оплата при отриманні";
}

/* ---------- Основа ---------- */

body {
    background: var(--t-bg);
    color: var(--t-ink);
    font-family: var(--t-text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.content-wrap {
    position: relative;
    overflow: hidden;
    padding: 18px 18px 28px;
    border-radius: 0;
    box-shadow: none;
    background: var(--t-paper);
    color: var(--t-ink);
}

.content-wrap > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4 {
    color: var(--t-ink);
    text-transform: none;
}

p { margin: 0 0 1em; }
a { color: var(--t-accent); }
img { max-width: 100%; height: auto; }

/* заголовки секций: подпись сверху (eyebrow) + черта снизу */
.title {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 16px;
    font-family: var(--t-display);
    font-size: var(--t-title-size);
    font-weight: var(--t-title-weight);
    line-height: 1.22;
    letter-spacing: var(--t-title-spacing);
    text-align: var(--t-title-align);
    text-transform: var(--t-title-case);
    color: var(--t-ink);
}

.title::before { content: none; }

.title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--t-accent);
    transform: translateX(-50%);
}

.product-description .title::before,
.features-block .title::before,
.steps-block .title::before,
.specifications .title::before,
.reviews .title::before,
.how-to-get .title::before {
    position: static;
    display: block;
    width: max-content;
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--t-surface-2);
    font-family: var(--t-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.3;
    color: var(--t-accent);
    text-transform: uppercase;
}

.product-description .title::before { content: var(--eb-desc); }
.features-block .title::before { content: var(--eb-features); }
.steps-block .title::before { content: var(--eb-steps); }
.specifications .title::before { content: var(--eb-specs); }
.reviews .title::before { content: var(--eb-reviews); }
.how-to-get .title::before { content: var(--eb-how); }

/* картка */
.number-discount,
.countdown,
.features-block .feature-item,
.steps-item,
.characteristics__list,
.rev_item,
.order_steps1 .step_item,
.pricing-block {
    border: var(--t-border);
    border-radius: var(--t-radius);
    background: var(--t-surface);
    box-shadow: var(--t-shadow);
}

/* ---------- Карточка товара ---------- */

.top-card-wrap { display: flex; flex-direction: column; }

.item-card .header {
    padding: 8px 0 2px;
    text-align: center;
}

.product-subtitle {
    display: inline-block;
    margin: 0 auto 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--t-surface-2);
    font-family: var(--t-text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.3;
    color: var(--t-accent);
    text-transform: uppercase;
}

.product-title {
    margin: 0 0 6px;
    font-family: var(--t-display);
    font-size: 32px;
    font-weight: var(--t-title-weight);
    line-height: 1.15;
    letter-spacing: var(--t-title-spacing);
    color: var(--t-ink);
}

.featured-media {
    position: relative;
    margin: 20px 0 6px;
}

.featured-media img {
    position: relative;
    display: block;
    width: 100%;
    border-radius: var(--t-radius);
}

.featured-media .discount {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--t-sale);
    font-family: var(--t-display);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
}

.pricing-block {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
    margin: 20px 0 6px;
    padding: 16px 8px;
    text-align: center;
}

.old-price,
.new-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.old-price { border-right: 1px solid var(--t-line); }

.old-price span,
.new-price span {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--t-muted);
    text-transform: uppercase;
}

.old-price strong {
    font-family: var(--t-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--t-muted);
    text-decoration: line-through;
    text-decoration-color: var(--t-sale);
    text-decoration-thickness: 2px;
}

.new-price strong {
    font-family: var(--t-display);
    font-size: var(--t-price-size);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--t-accent);
}

.old-price small,
.new-price small {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--t-muted);
}

/* ---------- Кнопка ---------- */

.order-button { margin: 20px 0 !important; }

.order-button a,
.order-form form button,
.order-form .wpcf7-submit {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 66px;
    margin: 0 auto;
    padding: 0 20px;
    border: var(--t-btn-border);
    border-radius: var(--t-btn-radius);
    background: var(--t-btn-bg);
    box-shadow: var(--t-btn-shadow);
    font-family: var(--t-display);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--t-btn-ink);
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.order-button a:active,
.order-form form button:active { transform: translateY(2px); }

@media (prefers-reduced-motion: no-preference) {
    .order-button a,
    .order-form form button { animation: tfl-pulse 2.8s ease-in-out infinite; }
}

@keyframes tfl-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.025); }
}

/* ---------- Знижка за кількість ---------- */

.number-discount {
    margin: 6px 0 18px;
    padding: 20px 18px;
    text-align: center;
}

.number-discount .block-title {
    margin: 0 0 14px;
    font-family: var(--t-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--t-ink);
}

.discount-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.discount-list li {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius-sm);
    background: var(--t-surface-2);
    font-size: 16px;
    color: var(--t-muted);
}

.discount-list li strong {
    font-family: var(--t-display);
    font-weight: 800;
    color: var(--t-ink);
}

.discount-list li:last-child {
    border-color: var(--t-accent);
    color: var(--t-ink);
}

/* ---------- Таймер ---------- */

.countdown {
    margin: 4px 0 22px;
    padding: 18px 14px 16px;
    text-align: center;
}

.countdown h4 {
    margin: 0 0 12px;
    font-family: var(--t-text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--t-muted);
    text-transform: uppercase;
}

.countdown__timer {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 76px;
    padding: 11px 6px 8px;
    border-radius: var(--t-radius-sm);
    background: var(--t-surface-2);
}

.countdown__value {
    font-family: var(--t-display);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: var(--t-ink);
}

.countdown__label {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--t-muted);
    text-transform: uppercase;
}

.countdown-text {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--t-muted);
}

.countdown-text p { margin: 0 0 6px; }

.content-wrap > img {
    display: block;
    width: 100%;
    margin: 4px 0 8px;
    border-radius: var(--t-radius-sm);
}

/* ---------- Опис ---------- */

.product-description { margin-top: var(--t-gap); }

.presentation {
    font-size: 16px;
    line-height: 1.7;
    color: var(--t-muted);
    text-align: center;
}

.presentation strong,
.presentation b { color: var(--t-ink); }

.presentation img {
    display: block;
    width: 100%;
    margin: 22px 0;
    border-radius: var(--t-radius);
}

.presentation ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.presentation ul li {
    position: relative;
    padding: 12px 14px 12px 48px;
    border-radius: var(--t-radius-sm);
    background: var(--t-surface-2);
    color: var(--t-ink);
}

.presentation ul li::before {
    content: "✓";
    position: absolute;
    left: 13px;
    top: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    border-radius: 50%;
    background: var(--t-accent);
    font-size: 13px;
    font-weight: 800;
    line-height: 24px;
    text-align: center;
    color: var(--t-on-accent);
}

.video-presentation iframe {
    width: 100%;
    margin-top: 20px;
    border-radius: var(--t-radius);
}

/* ---------- Переваги ---------- */

.features-block {
    margin-top: var(--t-gap);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--t-ink);
}

.feature-item-wrap {
    display: grid;
    gap: 12px;
}

.features-block .feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 14px 16px 14px 14px;
    text-align: left;
}

.feature-image {
    flex: 0 0 84px;
    width: 84px;
    max-width: none;
    min-width: 0;
    height: 84px;
    padding: 0;
    overflow: hidden;
    border-radius: var(--t-radius-sm);
}

.feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title {
    margin: 0 0 4px;
    font-family: var(--t-display);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--t-ink);
}

.feature-description,
.feature-description p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--t-muted);
}

/* ---------- Кроки ---------- */

.steps-block { margin-top: var(--t-gap); }

.steps-list {
    display: grid;
    gap: 14px;
    counter-reset: tflstep;
}

.steps-item {
    position: relative;
    padding: 18px 16px 16px;
    counter-increment: tflstep;
}

.steps-item::before {
    content: "0" counter(tflstep);
    display: block;
    margin-bottom: 8px;
    font-family: var(--t-display);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: var(--t-accent);
}

.steps-item p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--t-muted);
}

.steps-item p span {
    display: block;
    margin-bottom: 2px;
    font-family: var(--t-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--t-ink);
}

.steps-item .img img {
    display: block;
    width: 100%;
    border-radius: var(--t-radius-sm);
}

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

.specifications { margin-top: var(--t-gap); }

.specifications .image img {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    border-radius: var(--t-radius);
}

.characteristics__list {
    margin: 0;
    padding: 4px 18px;
    list-style: none;
}

.characteristics__list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid var(--t-line);
    font-size: 15px;
    color: var(--t-ink);
}

.characteristics__list li:last-child { border-bottom: 0; }

.characteristics__list li b {
    font-weight: 600;
    color: var(--t-muted);
}

.characteristics__list li span {
    font-weight: 800;
    color: var(--t-ink);
    text-align: right;
}

.characteristics__list li.custom-icon .characteristics-icon {
    width: 22px;
    height: 22px;
    align-self: center;
}

.check-icon { display: none; }

.specifications .order-button { margin: 22px 0 0 !important; }

/* ---------- Відгуки ---------- */

.reviews {
    margin-top: var(--t-gap);
    text-align: left;
    --swiper-navigation-color: var(--t-accent);
    --swiper-theme-color: var(--t-accent);
}

.reviews .swiper { padding-bottom: 34px; }
.reviews .swiper-slide { height: auto; }

.rev_item {
    height: 100%;
    margin: 0 4px;
    padding: 12px 12px 18px;
    text-align: left;
}

.rev_item img,
.rev_item_image {
    display: block;
    width: 100%;
    margin: 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--t-radius-sm);
}

.rev-text {
    margin: 0;
    padding: 14px 6px 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--t-muted);
}

.rev-text::before {
    content: "★★★★★";
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    letter-spacing: 3px;
    color: #f5b301;
}

.rev-title {
    margin-bottom: 4px;
    font-family: var(--t-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--t-ink);
}

.rev-text p { margin: 0 0 12px; }

.rev-name {
    padding-top: 12px;
    border-top: 1px solid var(--t-line);
}

.rev-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--t-ink);
}

.rev_avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.reviews .swiper-pagination { display: block; }

.reviews .swiper-pagination-bullet {
    background: var(--t-muted);
    opacity: 0.4;
}

.reviews .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 6px;
    background: var(--t-accent);
    opacity: 1;
}

.reviews .swiper-button-next,
.reviews .swiper-button-prev {
    top: 36%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--t-paper);
    box-shadow: var(--t-shadow);
}

.reviews .swiper-button-next::after,
.reviews .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 800;
}

/* ---------- Як замовити ---------- */

.how-to-get { margin-top: var(--t-gap); }
.how-to-get .title { margin-top: 0; }

.order_steps1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.order_steps1 .step_item {
    position: relative;
    padding: 18px 14px 16px;
    text-align: left;
}

.order_steps1 .step_item .image { margin-bottom: 12px; }

.order_steps1 .bg_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--t-radius-sm);
    background: var(--t-accent);
}

.order_steps1 .bg_icon img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
}

.order_steps1 .decor { display: none; }

.order_steps1 .text h4 {
    margin: 0 0 4px;
    font-family: var(--t-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--t-ink);
}

.order_steps1 .text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--t-muted);
}

/* ---------- Нижня картка і форма ---------- */

.how-to-get + .top-card-wrap {
    margin-top: 56px;
    padding: 22px 16px 8px;
    border: var(--t-border);
    border-radius: calc(var(--t-radius) + 6px);
    background: var(--t-surface-2);
}

.contact-form { margin-top: 6px; }

.order-form form {
    width: 100%;
    margin: 10px 0 14px;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.order-form form p { margin: 0 0 12px; }

.order-form form span input,
.order-form form span select,
.order-form input[type="text"],
.order-form input[type="tel"] {
    display: block;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius-sm);
    background: var(--t-paper);
    box-shadow: none;
    font-family: var(--t-text);
    font-size: 17px;
    font-weight: 600;
    color: var(--t-ink);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.order-form form span input::placeholder {
    color: var(--t-muted);
    font-weight: 500;
}

.order-form form span input:focus {
    border-color: var(--t-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--t-accent) 18%, transparent);
}

.order-form form button,
.order-form .wpcf7-submit { margin-top: 6px; }

.wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 13px;
    color: var(--t-sale);
}

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

.footer,
.single .footer {
    background: transparent;
    color: var(--t-muted);
}

.footer a { color: var(--t-muted); }

.footer-subscribe-messenger {
    border-top: 1px solid var(--t-line);
    background: var(--t-paper);
    color: var(--t-ink);
}
