/*
Theme Name: Kod Dveri
Theme URI: https://koddveri.ru/
Author: Kod Dveri Studio
Author URI: https://koddveri.ru/
Description: Современная лендинг-тема для салона межкомнатных и входных дверей. 100% редактируется в Elementor и Elementor Pro: шапка, топбар, меню, логотип, каждый блок лендинга, подвал, шаблоны записи, архива и 404 — всё это шаблоны и виджеты Elementor. Каждая секция дополнительно сохраняется отдельным блоком в библиотеке Elementor. Импорт демо-контента в один клик (или автоматически при активации).
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koddveri
Tags: business, portfolio, e-commerce, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, full-width-template, block-styles, wide-blocks, translation-ready, editor-style, threaded-comments
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
    --kd-dark: #171412;
    --kd-dark-soft: #241f1b;
    --kd-body: #4a423c;
    --kd-muted: #857a72;
    --kd-line: #e6ded5;
    --kd-cream: #f8f5f1;
    --kd-white: #ffffff;
    --kd-accent: #bb8b45;
    --kd-accent-dark: #9b6f31;
    --kd-accent-soft: rgba(187, 139, 69, .12);
    --kd-radius: 18px;
    --kd-radius-sm: 12px;
    --kd-shadow: 0 24px 60px -30px rgba(23, 20, 18, .35);
    --kd-shadow-sm: 0 10px 30px -18px rgba(23, 20, 18, .35);
    --kd-container: 1200px;
    --kd-font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    --kd-font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   2. Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--kd-font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--kd-body);
    background: var(--kd-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

a { color: var(--kd-accent-dark); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--kd-accent); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--kd-font-head);
    color: var(--kd-dark);
    line-height: 1.16;
    margin: 0 0 .6em;
    font-weight: 800;
    letter-spacing: -.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.2em; }
blockquote {
    margin: 1.5em 0;
    padding: 1.2em 1.6em;
    border-left: 3px solid var(--kd-accent);
    background: var(--kd-cream);
    border-radius: 0 var(--kd-radius-sm) var(--kd-radius-sm) 0;
    font-style: italic;
}
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
th, td { border: 1px solid var(--kd-line); padding: .7em .9em; text-align: left; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--kd-cream); border-radius: 6px; }
code { padding: .15em .4em; font-size: .9em; }
pre { padding: 1.2em; overflow: auto; }
hr { border: 0; border-top: 1px solid var(--kd-line); margin: 2.5em 0; }

/* Accessibility */
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
    position: fixed; top: 12px; left: 12px; z-index: 100000; clip: auto; clip-path: none;
    width: auto; height: auto; padding: 12px 20px; background: var(--kd-dark); color: #fff; border-radius: 8px;
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.kd-container { width: 100%; max-width: var(--kd-container); margin: 0 auto; padding: 0 24px; }
.kd-section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.kd-section--cream { background: var(--kd-cream); }
.kd-section--dark { background: var(--kd-dark); color: rgba(255, 255, 255, .78); }
.kd-section--dark h1, .kd-section--dark h2, .kd-section--dark h3 { color: #fff; }
.kd-grid { display: grid; gap: 26px; }
.kd-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.kd-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--kd-accent-dark); margin-bottom: 18px;
}
.kd-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--kd-accent); display: block; }
.kd-section-head { max-width: 760px; margin: 0 auto clamp(34px, 5vw, 60px); text-align: center; }
.kd-section-head .kd-eyebrow { justify-content: center; }
.kd-lead { font-size: 1.075rem; color: var(--kd-muted); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.kd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; font-size: 15px; letter-spacing: .01em; cursor: pointer;
    background: var(--kd-accent); color: #fff;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    box-shadow: 0 14px 30px -14px rgba(187, 139, 69, .8);
}
.kd-btn:hover { background: var(--kd-accent-dark); color: #fff; transform: translateY(-2px); }
.kd-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; box-shadow: none; }
.kd-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.kd-btn--dark { background: var(--kd-dark); box-shadow: var(--kd-shadow-sm); }
.kd-btn--dark:hover { background: #000; }

/* ==========================================================================
   5. Header / navigation
   ========================================================================== */
.kd-header {
    position: sticky; top: 0; z-index: 999;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--kd-line);
    transition: box-shadow .25s ease, background .25s ease;
}
.kd-header.is-stuck { box-shadow: 0 12px 34px -26px rgba(23, 20, 18, .7); }
.kd-header__topbar {
    background: var(--kd-dark); color: rgba(255, 255, 255, .72);
    font-size: 13.5px; letter-spacing: .01em;
}
.kd-header__topbar .kd-container { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.kd-header__topbar a { color: #fff; }
.kd-header__topbar span { display: inline-flex; align-items: center; gap: 8px; }
.kd-header__inner { display: flex; align-items: center; gap: 26px; padding: 16px 0; }

.kd-brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.kd-brand__mark {
    width: 46px; height: 46px; border-radius: 13px; flex: none;
    background: linear-gradient(140deg, var(--kd-accent), var(--kd-accent-dark));
    color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 19px; letter-spacing: -.03em;
    box-shadow: var(--kd-shadow-sm);
}
.kd-brand__name { font-family: var(--kd-font-head); font-weight: 800; font-size: 20px; color: var(--kd-dark); line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.kd-brand__tag { display: block; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--kd-muted); font-weight: 600; }
.kd-brand img { max-height: 52px; width: auto; }

.kd-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.kd-nav li { position: relative; }
.kd-nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--kd-dark); font-weight: 600; font-size: 15px; }
.kd-nav a:hover, .kd-nav .current-menu-item > a, .kd-nav .current_page_item > a { background: var(--kd-accent-soft); color: var(--kd-accent-dark); }
.kd-nav .sub-menu {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 232px;
    background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-radius-sm);
    box-shadow: var(--kd-shadow); padding: 10px; display: block;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; flex-direction: column; align-items: stretch;
}
.kd-nav li:hover > .sub-menu, .kd-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.kd-nav .sub-menu a { border-radius: 8px; }
.kd-header__cta { display: flex; align-items: center; gap: 14px; }
.kd-header__phone { font-weight: 800; font-size: 17px; color: var(--kd-dark); white-space: nowrap; }

.kd-burger {
    display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--kd-line);
    background: #fff; cursor: pointer; padding: 0; position: relative;
}
.kd-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--kd-dark); transition: .25s ease; }
.kd-burger span:nth-child(1) { top: 16px; }
.kd-burger span:nth-child(2) { top: 22px; }
.kd-burger span:nth-child(3) { top: 28px; }
.kd-burger.is-active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.kd-burger.is-active span:nth-child(2) { opacity: 0; }
.kd-burger.is-active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ==========================================================================
   6. Hero (fallback landing)
   ========================================================================== */
.kd-hero { position: relative; color: #fff; padding: clamp(80px, 12vw, 160px) 0; overflow: hidden; }
.kd-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
.kd-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15, 12, 10, .9) 8%, rgba(15, 12, 10, .62) 48%, rgba(15, 12, 10, .25) 100%); }
.kd-hero__inner { position: relative; max-width: 700px; }
.kd-hero h1 { color: #fff; }
.kd-hero h1 em { font-style: normal; color: var(--kd-accent); }
.kd-hero p { font-size: 1.14rem; color: rgba(255, 255, 255, .84); max-width: 560px; }
.kd-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.kd-hero__facts { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); }
.kd-hero__fact strong { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.1; }
.kd-hero__fact span { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.kd-hero__badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px;
}

/* ==========================================================================
   7. Cards
   ========================================================================== */
.kd-card {
    background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-radius);
    padding: 30px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; height: 100%;
}
.kd-card:hover { transform: translateY(-4px); box-shadow: var(--kd-shadow); border-color: rgba(187, 139, 69, .45); }
.kd-card__icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    background: var(--kd-accent-soft); color: var(--kd-accent-dark); font-size: 26px; margin-bottom: 20px;
}
.kd-card h3 { margin-bottom: .35em; }
.kd-card p { margin: 0; color: var(--kd-muted); font-size: 15.5px; }

.kd-tile { position: relative; border-radius: var(--kd-radius); overflow: hidden; display: block; min-height: 340px; background: var(--kd-dark); }
.kd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kd-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 12, 10, 0) 30%, rgba(15, 12, 10, .88) 100%); }
.kd-tile:hover img { transform: scale(1.06); }
.kd-tile__body { position: relative; z-index: 2; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; color: #fff; }
.kd-tile__body h3 { color: #fff; margin-bottom: .3em; }
.kd-tile__body p { color: rgba(255, 255, 255, .78); font-size: 15px; margin: 0; }

.kd-step { position: relative; padding-left: 68px; }
.kd-step__num {
    position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center; font-weight: 800; font-size: 18px;
    background: var(--kd-dark); color: var(--kd-accent);
}
.kd-review { background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-radius); padding: 28px; height: 100%; }
.kd-review__stars { color: var(--kd-accent); letter-spacing: .18em; margin-bottom: 14px; }
.kd-review__author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.kd-review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--kd-accent-soft); color: var(--kd-accent-dark); display: grid; place-items: center; font-weight: 800; }

/* ==========================================================================
   8. Form
   ========================================================================== */
.kd-form { display: grid; gap: 14px; }
.kd-form__row { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], input[type="password"], textarea, select {
    width: 100%; padding: 14px 17px; border: 1px solid var(--kd-line); border-radius: var(--kd-radius-sm);
    background: #fff; font: inherit; font-size: 15.5px; color: var(--kd-dark); transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--kd-accent); box-shadow: 0 0 0 4px var(--kd-accent-soft); }
button, input[type="submit"], .wp-block-button__link {
    font: inherit; font-weight: 700; cursor: pointer; border: 0; border-radius: 999px;
    padding: 15px 30px; background: var(--kd-accent); color: #fff; transition: background .2s ease, transform .2s ease;
}
button:hover, input[type="submit"]:hover { background: var(--kd-accent-dark); transform: translateY(-1px); }
.kd-form__note { font-size: 13px; color: var(--kd-muted); }

/* ==========================================================================
   9. Content / posts
   ========================================================================== */
.kd-page { padding: clamp(48px, 7vw, 90px) 0; }
.kd-page__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.kd-page__layout.is-full { grid-template-columns: minmax(0, 1fr); }
.kd-entry { max-width: 100%; }
.kd-entry__thumb { border-radius: var(--kd-radius); overflow: hidden; margin-bottom: 28px; }
.kd-entry__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--kd-muted); margin-bottom: 22px; }
.kd-entry .entry-content > * { margin-bottom: 1.2em; }
.kd-page-hero { background: var(--kd-cream); border-bottom: 1px solid var(--kd-line); padding: clamp(44px, 6vw, 72px) 0; text-align: center; }
.kd-page-hero h1 { margin-bottom: .25em; }
.kd-breadcrumbs { font-size: 14px; color: var(--kd-muted); }
.kd-postlist { display: grid; gap: 30px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.kd-post-card { background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.kd-post-card:hover { transform: translateY(-4px); box-shadow: var(--kd-shadow); }
.kd-post-card__thumb img { width: 100%; height: 210px; object-fit: cover; }
.kd-post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kd-post-card__body h2 { font-size: 1.25rem; margin: 0; }
.kd-pagination { margin-top: 46px; display: flex; justify-content: center; }
.kd-pagination .page-numbers {
    display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; margin: 0 4px;
    border: 1px solid var(--kd-line); border-radius: 12px; color: var(--kd-dark); font-weight: 700;
}
.kd-pagination .page-numbers.current, .kd-pagination .page-numbers:hover { background: var(--kd-accent); border-color: var(--kd-accent); color: #fff; }

.kd-sidebar .widget { background: var(--kd-cream); border-radius: var(--kd-radius); padding: 26px; margin-bottom: 26px; }
.kd-sidebar .widget-title, .kd-sidebar .wp-block-heading { font-size: 1.1rem; margin-bottom: .8em; }
.kd-sidebar ul { list-style: none; padding: 0; margin: 0; }
.kd-sidebar li { padding: 8px 0; border-bottom: 1px solid var(--kd-line); }
.kd-sidebar li:last-child { border-bottom: 0; }

/* WordPress core alignment */
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { margin: 1em auto; display: block; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--kd-muted); text-align: center; padding-top: .6em; }
.sticky .kd-post-card { border-color: var(--kd-accent); }
.wp-block-image img { border-radius: var(--kd-radius-sm); }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.kd-footer { background: var(--kd-dark); color: rgba(255, 255, 255, .66); padding: clamp(50px, 7vw, 84px) 0 0; }
.kd-footer h4, .kd-footer .widget-title { color: #fff; font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 1em; }
.kd-footer a { color: rgba(255, 255, 255, .74); }
.kd-footer a:hover { color: var(--kd-accent); }
.kd-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.kd-footer ul { list-style: none; padding: 0; margin: 0; }
.kd-footer li { padding: 6px 0; }
.kd-footer .kd-brand__name { color: #fff; }
.kd-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: 14px;
    display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
}
.kd-social { display: flex; gap: 10px; }
.kd-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-size: 15px; }
.kd-social a:hover { background: var(--kd-accent); color: #fff; }

/* ==========================================================================
   11. Elementor: части темы и виджеты Kod Dveri
   ========================================================================== */

/* Шапка из шаблона Elementor остаётся «липкой». */
.elementor-location-header { position: sticky; top: 0; z-index: 999; background: #fff; }

/* KD · Логотип */
.kd-w-brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.kd-w-brand__mark {
    width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
    font-weight: 800; font-size: 19px; letter-spacing: -.03em;
}
.kd-w-brand__body { display: flex; flex-direction: column; line-height: 1.15; }
.kd-w-brand__name { font-family: var(--kd-font-head); font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-transform: uppercase; }
.kd-w-brand__tag { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }

/* KD · Меню */
.kd-w-nav > ul { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.kd-w-nav li { position: relative; }
.kd-w-nav a { display: block; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s ease, color .2s ease; }
.kd-w-nav .sub-menu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; z-index: 20;
    background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-radius-sm);
    box-shadow: var(--kd-shadow); padding: 10px; flex-direction: column; align-items: stretch;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease;
}
.kd-w-nav li:hover > .sub-menu, .kd-w-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.kd-w-nav .sub-menu a { border-radius: 8px; color: var(--kd-dark); }

/* KD · Контакты */
.kd-w-contacts { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.kd-w-contacts__item { display: flex; align-items: center; gap: 12px; }
.kd-w-contacts__icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; font-size: 14px; }
.kd-w-contacts__text { text-decoration: none; }
.kd-w-contacts__text:hover { color: var(--kd-accent); }

/* KD · Форма заявки */
.kd-w-form__title { margin-bottom: .7em; }
.kd-w-form button { width: 100%; }
.kd-w-form__success {
    padding: 26px; border-radius: var(--kd-radius); background: var(--kd-cream);
    border: 1px solid var(--kd-line); color: var(--kd-dark); text-align: center;
}

/* Общие правки Elementor */
.elementor-page .kd-page { padding: 0; }
.elementor-page .kd-page__layout { display: block; }
.elementor-widget-heading .elementor-heading-title { letter-spacing: -.02em; }
.elementor-button { border-radius: 999px; font-weight: 700; }
.elementor-section.kd-elementor-tight > .elementor-container { max-width: var(--kd-container); }
.elementor-widget-image img { border-radius: var(--kd-radius-sm); }
.elementor-widget-icon-box .elementor-icon-box-title { letter-spacing: -.01em; }
.kd-elementor-card > .elementor-widget-container,
.elementor-widget.kd-elementor-card { background: #fff; border-radius: var(--kd-radius); }

/* WooCommerce light touch */
.woocommerce ul.products li.product a img { border-radius: var(--kd-radius-sm); }
.woocommerce span.onsale { background: var(--kd-accent); border-radius: 999px; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    background: var(--kd-accent); color: #fff; border-radius: 999px; font-weight: 700; padding: 13px 26px;
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .kd-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kd-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kd-page__layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
    .kd-burger { display: block; }
    .kd-header__cta .kd-btn { display: none; }
    .kd-nav {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        border-bottom: 1px solid var(--kd-line); box-shadow: var(--kd-shadow);
        max-height: 0; overflow: hidden; transition: max-height .35s ease;
    }
    .kd-nav.is-open { max-height: 80vh; overflow-y: auto; }
    .kd-nav ul { flex-direction: column; align-items: stretch; padding: 14px 24px 22px; gap: 2px; }
    .kd-nav a { padding: 13px 14px; }
    .kd-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .kd-grid--2, .kd-grid--3, .kd-grid--4 { grid-template-columns: minmax(0, 1fr); }
    .kd-form__row { grid-template-columns: minmax(0, 1fr); }
    .kd-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .kd-header__topbar .kd-container { justify-content: center; text-align: center; }
    .kd-hero__facts { gap: 18px 26px; }
}
