/*
Theme Name: Ovemo.bg
Theme URI: https://ovemo.bg
Author: Nikolay Ninkov, commissioned by Ovemo EOOD
Author URI: https://ovemo.bg
Description: The theme of the ovemo.bg website - the management system for HVAC service and installation.
Version: 0.12.74
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ovemo
Domain Path: /languages
*/

/* Цветовете са тези от хедъра на PDF документите на плъгина (тъмносиньо /
   светлосиньо / оранжево), за да се познава системата в документите ѝ. */
:root {
    --ovemo-navy: #1f3a5f;
    --ovemo-navy-deep: #14283f;
    --ovemo-sky: #a9c4e6;
    --ovemo-sky-soft: #e9f0f9;
    --ovemo-orange: #e8832a;
    --ovemo-orange-soft: #fdeede;
    --ovemo-text: #1f2733;
    --ovemo-muted: #5b6776;
    --ovemo-bg: #ffffff;
    --ovemo-bg-alt: #f4f7fb;
    --ovemo-line: #dfe4ec;
    --ovemo-radius: 14px;
    --ovemo-shadow: 0 2px 6px rgba(20, 40, 63, .06), 0 12px 32px rgba(20, 40, 63, .08);
    --ovemo-shadow-lift: 0 6px 14px rgba(20, 40, 63, .10), 0 24px 48px rgba(20, 40, 63, .14);
    --ovemo-ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--ov-font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
    font-feature-settings: var(--ov-font-features, normal);
    color: var(--ovemo-text);
    background: var(--ovemo-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ovemo-navy); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.ovemo-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Хедър и футър на темата -------------------------------------- */

.ovemo-header {
    position: sticky;
    /* Под лентата на WordPress, когато я има (влязъл потребител) - иначе тя
       покрива горната част на залепения хедър при скрол. */
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
}
/* Размазването затваря отвореното меню на телефона в рамките на хедъра
   (виждаше се само „Начало“) - докато менюто е отворено, е изключено. */
.ovemo-header:has(.is-menu-open) { backdrop-filter: none; }
/* Разделителната лента от PDF документите на плъгина (55,5 / 22,25 / 22,25 %,
   същите цветове) - сайтът и документите носят един и същ знак. */
.ovemo-header::after {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg,
        #1d3a63 0 55.5%,
        #7f9fd0 55.5% 77.75%,
        #e0801f 77.75% 100%);
}
/* Съдържанието на хедъра и футъра е в редактируеми части на шаблона
   (parts/header.html, parts/footer.html - Изглед → Части на шаблона);
   тук е само рамката и стилът им. */
.ovemo-header-row { min-height: 64px; align-items: center; gap: 24px; }
.ovemo-brand-group { gap: 10px; align-items: center; }
.wp-block-site-logo img { display: block; height: 40px; width: auto; }
.ovemo-brand, .ovemo-brand a {
    font-weight: 800;
    font-size: 1.35rem;
    text-decoration: none;
    color: var(--ovemo-navy);
    letter-spacing: -.02em;
    margin: 0;
}
/* Знакът на марката: оранжевата точка горе след името (като на иконата) -
   за всяко Ovemo, и в името на сайта (ovemo_brand_name()). */
.ovemo-name::after {
    content: "";
    display: inline-block;
    width: .3em; height: .3em;
    margin-left: .1em;
    border-radius: 50%;
    background: var(--ovemo-orange);
    vertical-align: .42em;
}
.ovemo-name { color: var(--ovemo-navy); font-weight: 800; white-space: nowrap; }
h1 .ovemo-name, h2 .ovemo-name, h3 .ovemo-name { font-weight: inherit; }
.ovemo-band .ovemo-name, .ovemo-cta .ovemo-name { color: #fff; }
.ovemo-nav { gap: 22px; }
.ovemo-nav .wp-block-navigation-item__content {
    text-decoration: none;
    font-weight: 600;
    color: var(--ovemo-text);
    position: relative;
}
.ovemo-nav .wp-block-navigation-item__content::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: -6px;
    height: 2px;
    background: var(--ovemo-orange);
    transition: right .3s var(--ovemo-ease);
}
.ovemo-nav .wp-block-navigation-item__content:hover::after { right: 0; }
.ovemo-header-actions { margin: 0; }
.ovemo-btn-small .wp-block-button__link { padding: 10px 18px; font-size: .95rem; }

.ovemo-footer {
    border-top: 1px solid var(--ovemo-line);
    background: var(--ovemo-bg-alt);
    color: var(--ovemo-muted);
    font-size: .95rem;
    padding: 48px 0 32px;
}
.ovemo-footer-grid { gap: 32px; }
.ovemo-footer .ovemo-brand { display: inline-block; margin-bottom: 10px; }
.ovemo-footer h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ovemo-navy); margin-bottom: 12px; }
.ovemo-footer-links { list-style: none; padding: 0; margin: 0; }
.ovemo-footer-links li { margin-bottom: 8px; }
.ovemo-footer a { color: var(--ovemo-text); text-decoration: none; }
.ovemo-footer a:hover { color: var(--ovemo-orange); }
.ovemo-copyright { margin-top: 20px; font-size: .85rem; }

/* --- Секции --------------------------------------------------------- */

.ovemo-main > .ovemo-wrap { max-width: none; padding: 0; }

.ovemo-section {
    padding: clamp(56px, 8vw, 104px) 16px;
}
.ovemo-section > * { max-width: 1320px; margin-left: auto; margin-right: auto; }

.ovemo-section.ovemo-paths,
.ovemo-section.ovemo-why,
.ovemo-section.ovemo-start,
.ovemo-section.ovemo-roles,
.ovemo-section.ovemo-included,
.ovemo-section.ovemo-faq { background: var(--ovemo-bg-alt); }

.ovemo-sub {
    color: var(--ovemo-muted);
    font-size: 1.1rem;
    max-width: 720px;
    margin-bottom: 40px;
}
/* Блокове с ограничена ширина и центриран текст трябва и самите да са по
   средата - класическата тема получава от WordPress обвивка
   (.wp-block-group__inner-container) около съдържанието на всяка група,
   затова правилото `.ovemo-section > *` хваща обвивката, не тях. */
.ovemo-sub.has-text-align-center,
.ovemo-shot-note.has-text-align-center,
.ovemo-cta h2 { margin-left: auto; margin-right: auto; }
.ovemo-small { color: var(--ovemo-muted); font-size: .95rem; }

/* Снимки от системата в секциите */
.ovemo-shot { margin: 24px auto 0; }
.ovemo-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--ovemo-line);
    box-shadow: var(--ovemo-shadow);
}
.ovemo-hero .ovemo-shot { max-width: 960px; margin-top: 40px; }
.ovemo-card .ovemo-shot { margin-top: 18px; }
.ovemo-card .ovemo-shot img { border-radius: 8px; }

/* „Как започна“: снимката в дясната колона е точно колкото текста вляво -
   колоната се разтяга по височината на реда, снимката запълва колоната и се
   изрязва (object-fit: cover), не се сплесква. Без числа в макета. */
.ovemo-story .wp-block-columns { align-items: stretch; }
/* Снимката НЕ участва в определянето на височината на реда: колоната ѝ е
   само рамка (position: relative), а картинката е „залепена“ в нея
   (absolute, inset 0) - редът е висок точно колкото текста, снимката го
   запълва и се изрязва. */
.ovemo-story .wp-block-column:has(.ovemo-shot) { position: relative; min-height: 0; }
.ovemo-story .ovemo-shot { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; }
.ovemo-story .ovemo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 781px) {
    /* На телефон снимката се реже отгоре-надолу до 460 px - пази се горната
       част (хора, ръце), не долната; фокусът от макета важи само на широк екран. */
    .ovemo-story .ovemo-shot { position: static; height: auto; }
    .ovemo-story .ovemo-shot img { height: 460px; object-position: center 20% !important; }
}

/* Бележка-заместител за бъдеща снимка от плъгина */
.ovemo-shot-note {
    border: 2px dashed var(--ovemo-sky);
    background: var(--ovemo-sky-soft);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--ovemo-muted);
    font-size: .95rem;
    margin-top: 20px;
}

/* --- Hero ------------------------------------------------------------ */

.ovemo-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(720px 360px at 88% -10%, rgba(232, 131, 42, .16), transparent 70%),
        radial-gradient(640px 320px at 8% 110%, rgba(169, 196, 230, .45), transparent 70%),
        var(--ovemo-bg);
}
.ovemo-hero > * { max-width: 860px; }
/* Малкият hero (Контакти, Изпратено): по-нисък, за да се подава следващият
   блок и на лаптоп. */
.ovemo-hero-small { padding-top: clamp(36px, 5vw, 60px); padding-bottom: clamp(32px, 4vw, 48px); }
.ovemo-eyebrow {
    display: inline-block;
    background: var(--ovemo-sky-soft);
    color: var(--ovemo-navy);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin: 0 auto 20px;
}
.ovemo-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: var(--ovemo-muted);
    max-width: 720px;
    margin: 0 auto 28px;
}
.ovemo-hero .wp-block-buttons { justify-content: center; gap: 12px; margin-bottom: 28px; }

.ovemo-checks {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    color: var(--ovemo-muted);
    font-size: .95rem;
}
.ovemo-checks li::before {
    content: "✓";
    display: inline-block;
    width: 20px; height: 20px;
    line-height: 20px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--ovemo-orange-soft);
    color: var(--ovemo-orange);
    font-weight: 800;
    font-size: .8rem;
    text-align: center;
}

/* --- Бутони ---------------------------------------------------------- */

.wp-block-button__link {
    border-radius: 12px;
    font-weight: 700;
    padding: 14px 26px;
    transition: transform .25s var(--ovemo-ease), box-shadow .25s var(--ovemo-ease), background-color .25s;
}
.ovemo-btn-primary .wp-block-button__link {
    background: var(--ovemo-navy);
    color: #fff;
    box-shadow: 0 8px 20px rgba(31, 58, 95, .25);
}
.ovemo-btn-primary .wp-block-button__link:hover {
    background: var(--ovemo-navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(31, 58, 95, .32);
}
.ovemo-btn-secondary .wp-block-button__link {
    border: 2px solid var(--ovemo-navy);
    color: var(--ovemo-navy);
    background: transparent;
}
.ovemo-btn-secondary .wp-block-button__link:hover {
    background: var(--ovemo-sky-soft);
    transform: translateY(-2px);
}

/* --- Лента с числа ---------------------------------------------------- */

.ovemo-band {
    background: linear-gradient(100deg, var(--ovemo-navy-deep), var(--ovemo-navy) 60%, #2b5283);
    color: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
}
.ovemo-stats { gap: 16px; }
.ovemo-stat {
    text-align: center;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: .95rem;
}
.ovemo-count {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}
.ovemo-count::after {
    content: "";
    display: block;
    width: 28px; height: 3px;
    margin: 10px auto 0;
    border-radius: 2px;
    background: var(--ovemo-orange);
    transform: scaleX(0);
    transition: transform .9s var(--ovemo-ease) 1.2s;
}
.is-visible .ovemo-count::after { transform: scaleX(1); }

/* --- Карти ------------------------------------------------------------ */

.ovemo-cards, .ovemo-two { gap: 20px; }
.ovemo-card {
    background: var(--ovemo-bg);
    border: 1px solid var(--ovemo-line);
    border-radius: var(--ovemo-radius);
    box-shadow: var(--ovemo-shadow);
    padding: 26px 24px;
    transition: transform .35s var(--ovemo-ease), box-shadow .35s var(--ovemo-ease), border-color .35s;
}
/* Снимката в картата стои долу - снимките в един ред се изравняват,
   колкото и различни да са текстовете над тях. */
.ovemo-card:has(> .ovemo-shot) { display: flex; flex-direction: column; }
.ovemo-card > .ovemo-shot { margin-top: auto; padding-top: 18px; width: 100%; }
@media (min-width: 782px) {
    .ovemo-card .ovemo-shot img { max-height: 200px; width: auto; max-width: 100%; display: block; margin-inline: auto; }
}
/* „Модули“ и „Защо Ovemo“ - по две карти на ред: снимките в картите са широки кадри от
   системата и в три-четири колони стават нечетливо малки. */
@media (min-width: 782px) {
    .ovemo-page-moduli .ovemo-cards, .ovemo-why .ovemo-cards { flex-wrap: wrap !important; justify-content: center; }
    .ovemo-page-moduli .ovemo-cards > .wp-block-column, .ovemo-why .ovemo-cards > .wp-block-column { flex: 0 0 calc(50% - 10px) !important; max-width: calc(50% - 10px); box-sizing: border-box; }
    /* Снимките от телефон са тесни и високи - без таван разтягат реда. */
    .ovemo-page-moduli .ovemo-card .ovemo-shot img, .ovemo-why .ovemo-card .ovemo-shot img { max-height: 300px; width: auto; max-width: 100%; display: block; margin-inline: auto; }
}
.ovemo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ovemo-shadow-lift);
    border-color: var(--ovemo-sky);
}
.ovemo-card h3 {
    margin-top: 0;
    padding-top: 52px;
    position: relative;
}
/* Иконата-квадрат горе вляво (както при повечето продуктови сайтове) -
   докато няма истински икони, е цветно квадратче с точка, което при
   hover се завърта леко. */
.ovemo-card h3::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--ovemo-sky-soft), var(--ovemo-sky));
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6);
    transition: transform .4s var(--ovemo-ease), background .4s;
}
.ovemo-card h3::after {
    content: "";
    position: absolute;
    top: 14px; left: 14px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--ovemo-navy);
    transition: background .4s;
}
.ovemo-card:hover h3::before { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, var(--ovemo-orange-soft), #f8c79a); }
.ovemo-card:hover h3::after { background: var(--ovemo-orange); }
.ovemo-card p:last-child { margin-bottom: 0; }

/* Двете колони „Сервиз / Монтаж“ - цветна лента отгоре */
.ovemo-paths .ovemo-card { border-top: 4px solid var(--ovemo-navy); }
.ovemo-paths .ovemo-card:last-child { border-top-color: var(--ovemo-orange); }

/* Номерирани стъпки „Как започвате“ */
.ovemo-numbered .ovemo-card h3::after { display: none; }
.ovemo-numbered .ovemo-card h3::before { background: var(--ovemo-navy); }

/* Двата начина - леко 3D накланяне при hover */
.ovemo-tilt { transform-style: preserve-3d; }
.ovemo-tilt:hover { transform: perspective(900px) rotateX(3deg) rotateY(-3deg) translateY(-6px); }
.ovemo-price { color: var(--ovemo-muted); font-size: .95rem; border-top: 1px dashed var(--ovemo-line); padding-top: 12px; }

/* --- Верига на документите -------------------------------------------- */

.ovemo-steps {
    list-style: none;
    counter-reset: step;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 0;
    padding: 0;
    margin: 32px auto;
}
.ovemo-steps li {
    counter-increment: step;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: .95rem;
    border-radius: 999px;
    background: var(--ovemo-bg-alt);
    border: 1px solid var(--ovemo-line);
    font-weight: 600;
    color: var(--ovemo-muted);
    opacity: .55;
    transform: translateY(6px);
    transition: opacity .8s var(--ovemo-ease), transform .8s var(--ovemo-ease), background .8s, color .8s, border-color .8s;
}
.ovemo-steps li::before {
    content: counter(step);
    display: inline-grid;
    place-items: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--ovemo-sky);
    color: var(--ovemo-navy);
    font-size: .8rem;
    font-weight: 800;
    transition: background .5s, color .5s;
}
.ovemo-steps li:not(:last-child) {
    margin-right: 32px;
}
.ovemo-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -32px; top: 50%;
    width: 32px; height: 2px;
    background: linear-gradient(90deg, var(--ovemo-sky), var(--ovemo-orange));
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    transition: transform .8s var(--ovemo-ease);
}
/* Светват една след друга, когато секцията влезе в екрана */
.is-visible .ovemo-steps li { opacity: 1; transform: none; background: #fff; color: var(--ovemo-text); border-color: var(--ovemo-sky); }
.is-visible .ovemo-steps li::before { background: var(--ovemo-navy); color: #fff; }
.is-visible .ovemo-steps li::after { transform: translateY(-50%) scaleX(1); }
.is-visible .ovemo-steps li:nth-child(1) { transition-delay: 0s; }
.is-visible .ovemo-steps li:nth-child(2) { transition-delay: .6s; }
.is-visible .ovemo-steps li:nth-child(3) { transition-delay: 1.2s; }
.is-visible .ovemo-steps li:nth-child(4) { transition-delay: 1.8s; }
.is-visible .ovemo-steps li:nth-child(5) { transition-delay: 2.4s; }
.is-visible .ovemo-steps li:nth-child(1)::after { transition-delay: .3s; }
.is-visible .ovemo-steps li:nth-child(2)::after { transition-delay: .9s; }
.is-visible .ovemo-steps li:nth-child(3)::after { transition-delay: 1.5s; }
.is-visible .ovemo-steps li:nth-child(4)::after { transition-delay: 2.1s; }

.ovemo-more a { font-weight: 700; margin-right: 10px; }
.ovemo-more { color: var(--ovemo-muted); font-size: .95rem; }

/* --- Правни страници: текст в една колона за четене ------------------- */

.ovemo-legal > * { max-width: 780px; }
.ovemo-legal h2 { font-size: 1.35rem; margin-top: 36px; }
.ovemo-legal-note {
    background: var(--ovemo-bg-alt);
    border-left: 4px solid var(--ovemo-orange);
    padding: 12px 16px;
}

/* --- Въпроси (details, без JS) ---------------------------------------- */

.ovemo-faq > * { max-width: 780px; }
.wp-block-details {
    background: #fff;
    border: 1px solid var(--ovemo-line);
    border-radius: 12px;
    padding: 0 20px;
    margin-bottom: 12px;
    transition: box-shadow .3s var(--ovemo-ease), border-color .3s;
}
.wp-block-details:hover { border-color: var(--ovemo-sky); }
.wp-block-details[open] { box-shadow: var(--ovemo-shadow); border-color: var(--ovemo-sky); }
.wp-block-details summary {
    cursor: pointer;
    font-weight: 700;
    padding: 16px 32px 16px 0;
    list-style: none;
    position: relative;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
    content: "+";
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 50%;
    background: var(--ovemo-sky-soft);
    color: var(--ovemo-navy);
    font-weight: 800;
    transition: transform .3s var(--ovemo-ease), background .3s;
}
.wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ovemo-orange-soft); color: var(--ovemo-orange); }
.wp-block-details[open] > :not(summary) { animation: ovemo-fade-down .35s var(--ovemo-ease) both; }
.wp-block-details p { color: var(--ovemo-muted); margin: 0 0 16px; }

/* --- Форма за връзка ([ovemo_contact_form]) ------------------------------ */

.ovemo-form-wrap { background: #fff; border: 1px solid var(--ovemo-line); border-radius: var(--ovemo-radius); box-shadow: var(--ovemo-shadow); padding: 28px; }
.ovemo-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.ovemo-form input[type="text"], .ovemo-form input[type="email"], .ovemo-form input[type="tel"], .ovemo-form textarea {
    display: block; width: 100%; box-sizing: border-box; margin-top: 6px;
    padding: 12px 14px; font: inherit; font-weight: 400; color: var(--ovemo-text);
    border: 1px solid var(--ovemo-line); border-radius: 10px; background: var(--ovemo-bg-alt);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.ovemo-form input:focus, .ovemo-form textarea:focus { outline: none; border-color: var(--ovemo-navy); background: #fff; box-shadow: 0 0 0 3px rgba(31, 58, 95, .12); }
.ovemo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ovemo-form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ovemo-form-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ovemo-muted); font-size: .9rem; }
.ovemo-form-consent input { margin-top: 4px; }
.ovemo-form-submit { margin: 8px 0 0; }
.ovemo-form-submit .wp-block-button__link { background: var(--ovemo-orange); color: #fff; border: 0; cursor: pointer; box-shadow: 0 8px 20px rgba(232, 131, 42, .3); }
.ovemo-form-submit .wp-block-button__link:hover { background: #d3721c; transform: translateY(-2px); }
.ovemo-form-submit .wp-block-button__link.is-sending { opacity: .65; cursor: progress; transform: none; box-shadow: none; }

/* Плаваща стрелка „нагоре“ (wp_footer) - скрита, докато скролът не мине
   ~400 px; #top връща в началото и без елемент с такъв id. */
.ovemo-totop {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem; line-height: 1; text-decoration: none;
    background: var(--ovemo-navy); color: #fff;
    box-shadow: 0 8px 20px rgba(31, 58, 95, .25);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .35s var(--ovemo-ease), transform .35s var(--ovemo-ease), background .3s var(--ovemo-ease), visibility 0s linear .35s;
}
.ovemo-totop.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ovemo-totop:hover { background: var(--ovemo-orange); color: #fff; }
@media (max-width: 600px) { .ovemo-totop { right: 16px; bottom: 16px; width: 40px; height: 40px; font-size: 1.2rem; } }


/* --- Цени: карти на плановете ------------------------------------------ */
.ovemo-plan { display: flex; flex-direction: column; }
.ovemo-plan h3 { padding-top: 0; }
.ovemo-plan h3::before, .ovemo-plan h3::after { display: none; }
.ovemo-plan.is-featured { border-color: var(--ovemo-orange); border-top: 4px solid var(--ovemo-orange); }
/* A plan opened from "Two ways to have it" (/ceni/#abonament) - not under the sticky header. */
.ovemo-plan[id] { scroll-margin-top: 120px; }
/* The cards of "Two ways to have it" on the home page: a click anywhere opens the link of the heading (assets/ovemo.js). */
.ovemo-card-link { cursor: pointer; }
.ovemo-card-link h3 a { color: inherit; text-decoration: none; }
.ovemo-card-link h3 a:focus-visible { outline: none; }
.ovemo-card-link:has(h3 a:focus-visible) { outline: 3px solid var(--ovemo-orange); outline-offset: 3px; }
.ovemo-badge {
    display: inline-block; align-self: flex-start; margin: 0 0 12px;
    background: var(--ovemo-orange); color: #fff;
    font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px;
}
.ovemo-badge.is-muted { background: var(--ovemo-sky-soft); color: var(--ovemo-navy); }
.ovemo-price {
    font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1;
    color: var(--ovemo-navy); margin: 6px 0 4px; white-space: nowrap;
}
.ovemo-price small { font-size: 1rem; font-weight: 600; color: var(--ovemo-muted); white-space: normal; }
.ovemo-price.is-small { font-size: 1.35rem; margin: 0 0 10px; }
.ovemo-price-note { color: var(--ovemo-muted); font-size: .95rem; margin: 0 0 16px; }
.ovemo-plan .ovemo-checks { flex-direction: column; align-items: flex-start; gap: 8px; margin: 0 0 22px; }
.ovemo-plan .wp-block-buttons { margin-top: auto; }
.ovemo-vat-note { color: var(--ovemo-muted); font-size: .9rem; margin-top: 22px; }

/* „Модули“ - подзаглавието „Платени екстри“ в „Какво още идва с инсталацията“. */
.ovemo-addons h3.has-text-align-center { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 48px auto 6px; padding-top: 0; }
/* „Цени“ - общата карта на платените екстри. */
.ovemo-extras-tile { max-width: 640px; margin: 8px auto 0; }
.ovemo-extras-tile h3 { padding-top: 0; }
.ovemo-extras-tile h3::before, .ovemo-extras-tile h3::after { display: none; }
.ovemo-extras-list { list-style: none; padding: 0; margin: 0 0 14px; }
.ovemo-extras-list li { padding: 12px 0; border-bottom: 1px dashed var(--ovemo-line); font-weight: 600; }
/* „Предстоящо“ - по-тихо от готовото: друг фон, пунктирани карти без сянка. */
.ovemo-section.ovemo-soon { background: var(--ovemo-bg-alt); }
.ovemo-soon .ovemo-card { border: 1px dashed var(--ovemo-sky); box-shadow: none; }
.ovemo-checks-grid { max-width: 900px; gap: 12px 32px; font-size: 1rem; }
.ovemo-checks-grid li { flex: 0 1 400px; text-align: left; }
.ovemo-form-notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; font-size: .95rem; }
.ovemo-form-notice.is-success { background: #e8f6ec; border: 1px solid #b7e0c2; color: #1e5a2e; }
.ovemo-form-notice.is-error { background: #fdecec; border: 1px solid #f3b8b8; color: #7a1f1f; }
.ovemo-contact-info h3 { padding-top: 0; }
.ovemo-contact-info h3::before, .ovemo-contact-info h3::after { display: none; }
.ovemo-contact-info p { color: var(--ovemo-muted); }
.ovemo-contact-info a { font-weight: 700; }
@media (max-width: 781px) { .ovemo-form-row { grid-template-columns: 1fr; } .ovemo-form-wrap { padding: 20px; } }

/* --- Призив ----------------------------------------------------------- */

.ovemo-cta {
    color: #fff;
    text-align: center;
    background: linear-gradient(120deg, var(--ovemo-navy-deep), var(--ovemo-navy), #2b5283, var(--ovemo-navy-deep));
    background-size: 300% 300%;
    animation: ovemo-drift 14s ease-in-out infinite;
}
.ovemo-cta h2 { max-width: 760px; }
.ovemo-cta .ovemo-small { color: rgba(255, 255, 255, .75); }
.ovemo-cta .ovemo-btn-primary .wp-block-button__link { background: var(--ovemo-orange); box-shadow: 0 8px 20px rgba(232, 131, 42, .35); }
.ovemo-cta .ovemo-btn-primary .wp-block-button__link:hover { background: #d3721c; }

/* --- Раздвижване при скрол -------------------------------------------- */
/* Скритото начално състояние важи само когато JS е зареден (html.ovemo-js),
   така без JS и в редактора всичко си е видимо. */

.ovemo-js .ovemo-reveal,
.ovemo-js .ovemo-reveal-left,
.ovemo-js .ovemo-reveal-right {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 1.1s var(--ovemo-ease), transform 1.1s var(--ovemo-ease);
}
.ovemo-js .ovemo-reveal-left { transform: translateX(-36px); }
.ovemo-js .ovemo-reveal-right { transform: translateX(36px); }
.ovemo-js .is-visible.ovemo-reveal,
.ovemo-js .is-visible.ovemo-reveal-left,
.ovemo-js .is-visible.ovemo-reveal-right,
.ovemo-js .is-visible .ovemo-reveal,
.ovemo-js .is-visible .ovemo-reveal-left,
.ovemo-js .is-visible .ovemo-reveal-right { opacity: 1; transform: none; }

/* Каскада на картите в една редица */
.ovemo-js .is-visible .ovemo-cards > :nth-child(2),
.ovemo-js .is-visible .ovemo-two > :nth-child(2) { transition-delay: .2s; }
.ovemo-js .is-visible .ovemo-cards > :nth-child(3) { transition-delay: .4s; }
.ovemo-js .is-visible .ovemo-cards > :nth-child(4) { transition-delay: .6s; }
.ovemo-js .is-visible .ovemo-cards > :nth-child(5) { transition-delay: .8s; }
.ovemo-js .is-visible .ovemo-faq .wp-block-details:nth-child(3) { transition-delay: .15s; }
.ovemo-js .is-visible .ovemo-faq .wp-block-details:nth-child(4) { transition-delay: .3s; }
.ovemo-js .is-visible .ovemo-faq .wp-block-details:nth-child(5) { transition-delay: .45s; }
.ovemo-js .is-visible .ovemo-faq .wp-block-details:nth-child(6) { transition-delay: .6s; }

/* Hero: появява се при зареждане, ред по ред */
.ovemo-js .ovemo-hero .ovemo-eyebrow,
.ovemo-js .ovemo-hero h1,
.ovemo-js .ovemo-hero .ovemo-lead,
.ovemo-js .ovemo-hero .wp-block-buttons,
.ovemo-js .ovemo-hero .ovemo-checks,
.ovemo-js .ovemo-hero .ovemo-shot-note {
    opacity: 0;
    animation: ovemo-rise 1.1s var(--ovemo-ease) forwards;
}
.ovemo-js .ovemo-hero .ovemo-eyebrow { animation-delay: .05s; }
.ovemo-js .ovemo-hero h1 { animation-delay: .25s; }
.ovemo-js .ovemo-hero .ovemo-lead { animation-delay: .5s; }
.ovemo-js .ovemo-hero .wp-block-buttons { animation-delay: .75s; }
.ovemo-js .ovemo-hero .ovemo-checks { animation-delay: 1s; }
.ovemo-js .ovemo-hero .ovemo-shot-note { animation-delay: 1.3s; }
/* h1/.ovemo-lead носят и .ovemo-reveal - в hero анимацията е водеща */
.ovemo-js .ovemo-hero .ovemo-reveal { transition: none; transform: none; }

@keyframes ovemo-rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}
@keyframes ovemo-fade-down {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}
@keyframes ovemo-drift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Хора с настройка „намалено движение“ (и за зрението на потребителя):
   всичко е видимо веднага, без преходи. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ovemo-js .ovemo-reveal, .ovemo-js .ovemo-reveal-left, .ovemo-js .ovemo-reveal-right,
    .ovemo-js .ovemo-hero > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
    .ovemo-steps li, .ovemo-steps li::after, .ovemo-count::after { opacity: 1; transform: none !important; transition: none !important; }
    .ovemo-steps li { background: #fff; color: var(--ovemo-text); }
    .ovemo-cta { animation: none; }
    .ovemo-card, .ovemo-tilt, .wp-block-button__link { transition: none; }
    .ovemo-card:hover, .ovemo-tilt:hover, .wp-block-button__link:hover { transform: none; }
}

/* --- Малки екрани ----------------------------------------------------- */

@media (max-width: 781px) {
    .ovemo-section { padding-left: 16px; padding-right: 16px; }
    .ovemo-header .ovemo-header-actions { display: none; }
    .ovemo-steps { flex-direction: column; align-items: stretch; }
    .ovemo-steps li:not(:last-child) { margin-right: 0; margin-bottom: 26px; }
    .ovemo-steps li:not(:last-child)::after {
        right: auto; left: 30px; top: 100%;
        width: 2px; height: 26px;
        transform: scaleY(0);
        transform-origin: top;
        background: linear-gradient(180deg, var(--ovemo-sky), var(--ovemo-orange));
    }
    .is-visible .ovemo-steps li::after { transform: scaleY(1); }
    .ovemo-tilt:hover { transform: translateY(-6px); }
}

/* --- The page "Order" (Ovemo - Subscriptions, the block "Order"; by the approved sample of the order) --- */

.ovemo-order { --ovemo-ok: #2f8f5b; max-width: 1180px; margin: 0 auto; padding: 0 0 60px; font-size: 15px; line-height: 1.5; }
.ovemo-order h1 { font-size: 26px; margin: 0 0 4px; }
.ovemo-order h2 { font-size: 18px; margin: 0 0 14px; }
.ovemo-order-note { background: var(--ovemo-bg-alt); border: 1px dashed var(--ovemo-line); border-radius: 10px; padding: 14px 18px; color: var(--ovemo-muted); }

/* The step bar: done - green with a tick, now - orange with its name, next - grey with a number. */
.ovemo-order-steps { list-style: none; margin: 0 0 28px; padding: 12px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; background: #e6ebf2; border-bottom: 1px solid var(--ovemo-line); border-radius: 10px; }
.ovemo-order-step { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ovemo-muted); }
.ovemo-order-step + .ovemo-order-step::before { content: ""; width: 22px; height: 2px; background: #c7d0dc; margin-right: 2px; }
.ovemo-order-step__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: #c7d0dc; color: #fff; }
.ovemo-order-step.is-done .ovemo-order-step__n { background: var(--ovemo-ok); }
.ovemo-order-step.is-now .ovemo-order-step__n { background: var(--ovemo-orange); }
.ovemo-order-step__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ovemo-order-step.is-now .ovemo-order-step__t { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-weight: 600; color: var(--ovemo-text); }
/* The progress of the system in the card "Subscription" of My account - inside the card, no band (16.11.2026). */
.ovemo-order-steps.is-card { margin: 14px 0 0; padding: 0; background: none; border: 0; justify-content: flex-start; gap: 8px; }
.ovemo-order-steps.is-card .ovemo-order-step + .ovemo-order-step::before { width: 16px; }
.ovemo-order-steps.is-card .ovemo-order-step__n { width: 28px; height: 28px; font-size: 13px; }

.ovemo-order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.ovemo-order-card { background: var(--ovemo-bg); border: 1px solid var(--ovemo-line); border-radius: var(--ovemo-radius); box-shadow: var(--ovemo-shadow); padding: 26px 28px; }
.ovemo-order-card + .ovemo-order-card { margin-top: 20px; }
.ovemo-order-lead { color: var(--ovemo-muted); margin: 0 0 18px; }
.ovemo-order-card .ovemo-order-lead:last-child { margin-bottom: 0; }
.ovemo-order-error { color: #b42318; font-size: 13px; font-weight: 600; margin: 6px 0 0; }

/* The two plans: the whole card is the choice. */
.ovemo-order-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 6px; }
.ovemo-order-plan { display: block; border: 2px solid var(--ovemo-line); border-radius: 12px; padding: 16px 18px; cursor: pointer; background: #fff; }
.ovemo-order-plan input { position: absolute; opacity: 0; pointer-events: none; }
.ovemo-order-plan:has(input:checked) { border-color: var(--ovemo-orange); background: var(--ovemo-orange-soft); }
.ovemo-order-plan:has(input:focus-visible) { outline: 2px solid var(--ovemo-navy); outline-offset: 2px; }
.ovemo-order-plan b { display: block; font-size: 17px; }
.ovemo-order-plan__price { display: block; font-size: 22px; font-weight: 800; color: var(--ovemo-navy); margin-top: 4px; }
.ovemo-order-plan__price small { font-size: 13px; font-weight: 500; color: var(--ovemo-muted); }
.ovemo-order-plan > small { display: block; color: var(--ovemo-muted); }

.ovemo-order-gets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.ovemo-order-gets[hidden] { display: none; }
.ovemo-order-gets li { padding-left: 22px; position: relative; }
.ovemo-order-gets li::before { content: "\2713"; position: absolute; left: 0; color: var(--ovemo-ok); font-weight: 700; }

/* The rows of the extras and of the services. */
.ovemo-order-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--ovemo-line); cursor: pointer; }
.ovemo-order-card h2 + .ovemo-order-row, .ovemo-order-lead + .ovemo-order-row { border-top: 0; }
.ovemo-order-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ovemo-orange); }
.ovemo-order-row__name { flex: 1; }
.ovemo-order-row__name small { display: block; color: var(--ovemo-muted); font-size: 13px; }
.ovemo-order-row__price { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; min-width: 90px; }
.ovemo-order-row.is-off, .ovemo-order-radio.is-off { opacity: .45; cursor: default; }
.ovemo-order-hours { white-space: nowrap; color: var(--ovemo-muted); }
.ovemo-order-hours[hidden] { display: none; }

/* A choice of two: the term, the discount, login or registration. */
.ovemo-order-seg { display: inline-flex; border: 1px solid var(--ovemo-line); border-radius: 8px; overflow: hidden; margin: 0 0 6px; }
.ovemo-order-seg + .ovemo-order-lead { margin-top: 6px; }
.ovemo-order-seg label, .ovemo-order-seg a { display: block; cursor: pointer; }
.ovemo-order-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ovemo-order-seg span, .ovemo-order-seg a { display: flex; align-items: center; height: 32px; padding: 0 16px; font-size: 14px; background: #fff; color: var(--ovemo-text); text-decoration: none; }
.ovemo-order-seg input:checked + span, .ovemo-order-seg a:first-child { background: var(--ovemo-navy); color: #fff; }
.ovemo-order-seg input:focus-visible + span { outline: 2px solid var(--ovemo-orange); outline-offset: -2px; }

.ovemo-order-label { display: block; font-size: 13px; color: var(--ovemo-muted); margin: 14px 0 6px; }
.ovemo-order-input { width: 100%; height: 32px; border: 1px solid var(--ovemo-line); border-radius: 6px; padding: 0 10px; font: inherit; box-sizing: border-box; }
.ovemo-order-input.is-num { width: 70px; text-align: center; }
.ovemo-order-input[aria-invalid="true"] { border-color: #b42318; }
.ovemo-order-radio { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--ovemo-line); border-radius: 10px; padding: 12px 14px; margin-top: 10px; cursor: pointer; }
.ovemo-order-radio:has(input:checked) { border-color: var(--ovemo-orange); background: var(--ovemo-orange-soft); }
.ovemo-order-radio input { margin-top: 4px; accent-color: var(--ovemo-orange); }
.ovemo-order-radio small { display: block; color: var(--ovemo-muted); }

/* "Your order" - on every step. */
.ovemo-order-aside { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 90px); }
.ovemo-order-aside .ovemo-order-card { padding: 22px; }
.ovemo-order-aside h2 { text-align: center; }
.ovemo-order-sum { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; }
.ovemo-order-sum span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.ovemo-order-sum.is-sub { color: var(--ovemo-muted); font-size: 13px; }
.ovemo-order-sep { border-top: 1px solid var(--ovemo-line); margin: 10px 0; }
.ovemo-order-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; color: var(--ovemo-navy); }
.ovemo-order-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 40px; border: 0; border-radius: 6px; background: var(--ovemo-orange); color: #fff; font: inherit; font-weight: 700; cursor: pointer; margin-top: 16px; text-decoration: none; box-sizing: border-box; }
.ovemo-order-btn:hover { filter: brightness(.95); color: #fff; }
.ovemo-order-btn.is-ghost { background: #fff; color: var(--ovemo-navy); border: 1px solid var(--ovemo-line); margin-top: 8px; }
.ovemo-order-btn:disabled, .ovemo-order-btn:disabled:hover { opacity: .45; cursor: not-allowed; filter: none; }
.ovemo-order-hint { color: var(--ovemo-muted); font-size: 12.5px; text-align: center; margin: 10px 0 0; }

/* The page "Price list" (Ovemo Prices [ovemo_price_list] and [ovemo_price_promotions]) - cards as in the order */
.ovemo-price-list, .ovemo-price-promotions { background: var(--ovemo-bg); border: 1px solid var(--ovemo-line); border-radius: var(--ovemo-radius); box-shadow: var(--ovemo-shadow); padding: 26px 28px; max-width: 1180px; margin: 28px auto; box-sizing: border-box; }
.ovemo-price-list h2, .ovemo-price-promotions h2 { margin: 0 0 6px; color: var(--ovemo-navy); }
.ovemo-price-list p { margin: 0 0 16px; color: var(--ovemo-muted); }
.ovemo-price-promotions ul { margin: 8px 0 0; padding-left: 20px; }
.ovemo-price-list__wrap { overflow-x: auto; }
.ovemo-price-list table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ovemo-price-list th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--ovemo-navy); text-align: left; padding: 8px 10px; border-bottom: 2px solid var(--ovemo-navy); vertical-align: bottom; }
.ovemo-price-list td { padding: 8px 10px; border-bottom: 1px solid var(--ovemo-line); vertical-align: top; }
.ovemo-price-list .is-num { text-align: center; }
.ovemo-price-list .is-money { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ovemo-price-list .is-nowrap { white-space: nowrap; }
.ovemo-price-list th { white-space: nowrap; }
.ovemo-price-list th:last-child { white-space: normal; }

.ovemo-order-done { text-align: center; padding-top: 40px; padding-bottom: 40px; }
.ovemo-order-done__mark { font-size: 44px; color: var(--ovemo-ok); }

/* The page "My account" (Ovemo - Subscriptions, the block "My account"; by the approved sample страница-на-абоната.html).
   The cards are the cards of the order. */
.ovemo-account { padding-top: 18px; }
.ovemo-account-hello h1 { margin: 0; letter-spacing: -.01em; }
.ovemo-account-hello p { margin: 2px 0 20px; color: var(--ovemo-muted); }
.ovemo-account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.ovemo-account .ovemo-order-card { padding: 22px 24px; }
.ovemo-account .ovemo-order-card h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ovemo-account-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.ovemo-account-tag.is-wait { background: var(--ovemo-orange-soft); color: #a3530f; }
.ovemo-account-tag.is-ok { background: var(--ovemo-ok-soft); color: var(--ovemo-ok); }
.ovemo-account-tag.is-grey { background: #eef1f5; color: var(--ovemo-muted); }

.ovemo-account-lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.ovemo-account-lines td { padding: 7px 0; border-top: 1px solid var(--ovemo-line); vertical-align: top; }
.ovemo-account-lines tr:first-child td { border-top: 0; }
.ovemo-account-lines td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 12px; }
.ovemo-account-lines small { display: block; color: var(--ovemo-muted); font-size: 12.5px; }
.ovemo-account-lines .is-minus td:last-child { color: var(--ovemo-ok); font-weight: 600; }
.ovemo-account-lines .is-sub td { color: var(--ovemo-muted); }
.ovemo-account-lines .is-total td { font-weight: 800; font-size: 17px; color: var(--ovemo-navy); border-top: 2px solid var(--ovemo-line); padding-top: 10px; }

.ovemo-account-pay { display: grid; grid-template-columns: 150px 1fr auto; gap: 8px 12px; align-items: center; font-size: 14px; }
.ovemo-account-pay__k { color: var(--ovemo-muted); }
.ovemo-account-pay__v { font-weight: 700; font-variant-numeric: tabular-nums; word-break: break-all; }
.ovemo-account-copy { height: 30px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--ovemo-line); background: #fff; font: inherit; font-size: 13px; cursor: pointer; color: var(--ovemo-navy); }
.ovemo-account-copy.is-done { border-color: var(--ovemo-ok); color: var(--ovemo-ok); }
.ovemo-account-warn { margin-top: 14px; background: var(--ovemo-orange-soft); color: #7a4310; border-radius: 10px; padding: 10px 14px; font-size: 14px; }

.ovemo-account-docs { width: 100%; border-collapse: collapse; font-size: 14px; }
.ovemo-account-docs th { text-align: left; font-size: 12.5px; color: var(--ovemo-muted); font-weight: 600; padding: 0 0 6px; }
.ovemo-account-docs td { padding: 9px 0; border-top: 1px solid var(--ovemo-line); }
.ovemo-account-docs .is-date { text-align: center; white-space: nowrap; }
.ovemo-account-docs .is-links { text-align: right; white-space: nowrap; }
.ovemo-account-docs a { color: var(--ovemo-navy); font-weight: 600; text-decoration: none; margin-left: 12px; }
/* "No. 0000000001" in one piece - the number never alone on the next line of the narrow card. */
.ovemo-account-docno { white-space: nowrap; }

/* One document (?document=…): as the page "Document" of the archive - a bar with "Back", the name and the buttons, the
   document in a frame under it. */
.ovemo-account-viewer__bar { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; margin-bottom: 14px; }
.ovemo-account-viewer__bar h1 { margin: 0; flex: 1 1 auto; font-size: 24px; letter-spacing: -.01em; }
.ovemo-account-viewer__bar .ovemo-account-line-btn { margin-top: 0; }
.ovemo-account-viewer__actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.ovemo-account-viewer__frame { display: block; width: 100%; height: 80vh; min-height: 560px; border: 1px solid var(--ovemo-line); border-radius: 12px; background: #e9eef4; }

.ovemo-account-next { list-style: none; margin: 0; padding: 0; }
.ovemo-account-next li { display: flex; gap: 12px; padding: 8px 0; }
.ovemo-account-next__n { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: #c7d0dc; color: #fff; }
.ovemo-account-next li.is-done .ovemo-account-next__n { background: var(--ovemo-ok); }
.ovemo-account-next li.is-now .ovemo-account-next__n { background: var(--ovemo-orange); }
.ovemo-account-next b { display: block; }
.ovemo-account-next small { color: var(--ovemo-muted); }

.ovemo-account-kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 12px; font-size: 14px; }
.ovemo-account-kv__k { color: var(--ovemo-muted); }
.ovemo-account-open { display: inline-block; margin-top: 14px; height: 42px; line-height: 42px; padding: 0 20px; border-radius: 8px; background: var(--ovemo-orange); color: #fff; font-weight: 700; text-decoration: none; }
.ovemo-account-open:hover { filter: brightness(.95); color: #fff; }
.ovemo-account-line-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--ovemo-line); background: #fff; font-size: 14px; color: var(--ovemo-navy); margin-top: 14px; text-decoration: none; }
.ovemo-account-consent { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--ovemo-line); font-size: 14px; }
.ovemo-account-consent:first-of-type { border-top: 0; }
.ovemo-account-consent input, .ovemo-account-marketing input { margin-top: 4px; accent-color: var(--ovemo-orange); }
.ovemo-account-consent small { display: block; color: var(--ovemo-muted); }
/* The tick "Advertising emails" of Ovemo Accounts - a part of the card "Consents", under a line. */
.ovemo-account-marketing { border-top: 1px solid var(--ovemo-line); padding-top: 8px; font-size: 14px; }
.ovemo-account-marketing .ovemo-form { gap: 10px; }
.ovemo-order-card .ovemo-account-marketing .ovemo-form h2 { margin: 0; font-size: 14px; color: var(--ovemo-text); }

/* "My account", the subscription works - rows of two cards of the same height, "Documents" the whole width, the
   buttons at the bottom of the card (the sample моят-акаунт-абонаментът-работи.html, 02.11.2026). */
.ovemo-account-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; align-items: stretch; }
.ovemo-account-row.is-one { grid-template-columns: minmax(0, 1fr); }
.ovemo-account-row > .ovemo-order-card { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.ovemo-account-foot { margin-top: auto; padding-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ovemo-account-foot .ovemo-account-open, .ovemo-account-foot .ovemo-account-line-btn { margin-top: 0; }
.ovemo-account-kv > span { overflow-wrap: anywhere; min-width: 0; }
/* The row "The system" of the card "Subscription": "Being prepared" / "Ready" → a grey arrow → the orange underlined
   link "To your system →" (a form button that looks as a link; the owner, 16.11.2026). */
.ovemo-account-system { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ovemo-account-system__arrow { color: var(--ovemo-muted); }
.ovemo-account-system__go { display: inline; margin: 0; }
.ovemo-account-system__link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ovemo-orange); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ovemo-account-system__link:hover, .ovemo-account-system__link:focus-visible { color: var(--ovemo-orange); filter: brightness(.9); }
.ovemo-account-docs .is-status { text-align: center; white-space: nowrap; }
.ovemo-account-row .ovemo-account-marketing { margin-top: auto; }
.ovemo-account-row .ovemo-passkeys.is-account { display: flex; flex-direction: column; gap: 0; margin-top: 0; flex: 1 1 auto; }
.ovemo-passkey-key { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--ovemo-line); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-top: 12px; }
.ovemo-passkey-key small { display: block; color: var(--ovemo-muted); }
.ovemo-passkey-help { margin-top: 12px; font-size: 13px; color: var(--ovemo-muted); }
.ovemo-passkey-help summary { cursor: pointer; color: var(--ovemo-navy); font-weight: 600; }
.ovemo-passkey-help p { margin: 6px 0 0; }
.ovemo-passkey-foot { margin-top: auto; padding-top: 16px; display: grid; gap: 8px; justify-items: start; }
.ovemo-passkey-more { font: inherit; font-size: 14px; font-weight: 600; color: var(--ovemo-navy); background: none; border: 0; padding: 0; cursor: pointer; }
.ovemo-passkey-more:hover { color: var(--ovemo-orange); }
@media (max-width: 860px) { .ovemo-account-row { grid-template-columns: minmax(0, 1fr); } }

/* "My account" - the Offer (02.11.2026): the sent offer inside "Waiting for a separate offer" with "I accept the offer"
   and "I decline" (a short form under it), the line after the answer, the cards of the offer stacked in one row. */
.ovemo-account-stack { display: grid; gap: 20px; min-width: 0; }
.ovemo-account-stack > .ovemo-order-card { margin: 0; }
.ovemo-account-quotation { border-top: 1px solid var(--ovemo-line); margin-top: 16px; padding-top: 14px; }
.ovemo-account-offers h2 + .ovemo-account-quotation { border-top: 0; margin-top: 0; padding-top: 0; }
.ovemo-account-quotation h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; font-size: 17px; }
.ovemo-account-answer form { margin: 0; }
.ovemo-account-answer .ovemo-account-open, button.ovemo-account-open { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.ovemo-account-decline { margin-top: 10px; }
.ovemo-account-decline > summary { list-style: none; cursor: pointer; margin-top: 0; }
.ovemo-account-decline > summary::-webkit-details-marker { display: none; }
.ovemo-account-decline form { display: grid; gap: 8px; margin-top: 10px; font-size: 14px; }
.ovemo-account-decline textarea { width: 100%; border: 1px solid var(--ovemo-line); border-radius: 8px; padding: 8px 10px; font: inherit; }
.ovemo-account-decline button { justify-self: start; margin-top: 0; font: inherit; cursor: pointer; }
.ovemo-account-notice { margin: 0 0 16px; border-radius: 10px; padding: 12px 16px; font-size: 14px; }
.ovemo-account-notice.is-ok { background: #edf7f0; color: #2e7d4f; }
.ovemo-account-notice.is-bad { background: var(--ovemo-orange-soft); color: #7a4310; }

/* The header for a logged-in person: "My account" and "Log out". */
.ovemo-header-actions.is-signed-in { display: flex; align-items: center; gap: 14px; }
.ovemo-header-me { font-weight: 600; color: var(--ovemo-navy); text-decoration: none; white-space: nowrap; }
.ovemo-header-me:hover { color: var(--ovemo-orange); }

/* Facebook (the address from Ovemo Messages): the icon left of "Log in" / "My account", the link in the footer. */
.ovemo-header-actions { align-items: center; }
.ovemo-header-facebook { display: inline-flex; color: var(--ovemo-navy); }
.ovemo-header-facebook:hover { color: var(--ovemo-orange); }
.ovemo-facebook-icon { display: block; flex: none; }
.ovemo-footer-facebook { display: inline-flex; align-items: center; gap: 6px; }
.ovemo-footer-facebook .ovemo-facebook-icon { width: 16px; height: 16px; }

@media (max-width: 900px) {
    .ovemo-order-grid { grid-template-columns: 1fr; }
    .ovemo-order-aside { position: static; }
    .ovemo-order-plans, .ovemo-order-gets { grid-template-columns: 1fr; }
    .ovemo-account-grid { grid-template-columns: 1fr; }
    .ovemo-account-pay { grid-template-columns: 1fr auto; }
    .ovemo-account-pay__k { grid-column: 1 / -1; margin-top: 6px; }
}

/* The page of the modes "Under construction" and "Maintenance" (Ovemo Sitetools, includes/site-mode.php) */
body.ovemo-mode { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #f4f6f9; }
.ovemo-mode-bar { height: 6px; background: linear-gradient(90deg, var(--ovemo-navy) 0 55%, #8fa9cf 55% 77%, var(--ovemo-orange) 77%); }
.ovemo-mode-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.ovemo-mode-card { width: 100%; max-width: 620px; background: #fff; border: 1px solid var(--ovemo-line); border-radius: 14px; box-shadow: 0 10px 40px rgba(20,40,70,.10); padding: 44px 44px 36px; text-align: center; }
.ovemo-mode-logo { font-size: 30px; font-weight: 800; color: var(--ovemo-navy); }
.ovemo-mode-sub { color: var(--ovemo-muted); font-size: 14px; margin-top: 2px; }
.ovemo-mode-icon { width: 84px; height: 84px; margin: 30px auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e6ebf2; }
.ovemo-mode.is-maintenance .ovemo-mode-icon { background: #fdf0e3; }
.ovemo-mode-icon svg { width: 44px; height: 44px; }
.ovemo-mode-card h1 { font-size: 28px; line-height: 1.25; color: var(--ovemo-navy); margin: 0 0 12px; }
.ovemo-mode-card p { font-size: 17px; line-height: 1.6; margin: 0 0 14px; }
.ovemo-mode-steps { list-style: none; padding: 0; margin: 24px 0 8px; text-align: left; display: grid; gap: 10px; }
.ovemo-mode-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--ovemo-line); border-radius: 10px; }
.ovemo-mode-steps b { flex: 0 0 26px; height: 26px; margin-top: 2px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; background: #2f8f5b; }
.ovemo-mode-steps .is-now { border-color: var(--ovemo-orange); }
.ovemo-mode-steps .is-now b { background: var(--ovemo-orange); }
.ovemo-mode-steps .is-next b { background: #c3ccd8; }
.ovemo-mode-steps strong { display: block; color: var(--ovemo-navy); font-size: 16px; }
.ovemo-mode-steps .is-next strong { color: var(--ovemo-muted); }
.ovemo-mode-steps span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--ovemo-muted); margin-top: 3px; }
.ovemo-mode-spin { flex: 0 0 20px; height: 20px; margin-top: 5px; border-radius: 50%; border: 3px solid #f6dcc2; border-top-color: var(--ovemo-orange); animation: ovemo-mode-spin .9s linear infinite; }
@keyframes ovemo-mode-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ovemo-mode-spin { animation-duration: 3s; } }
.ovemo-mode-ready { display: inline-block; margin: 4px 0 14px; padding: 10px 16px; border-radius: 8px; background: #fdf0e3; color: #8a4f12; font-weight: 700; font-size: 16px; }
.ovemo-mode-contact { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--ovemo-line); font-size: 15px; color: var(--ovemo-muted); }
.ovemo-mode-contact a { color: var(--ovemo-navy); font-weight: 700; text-decoration: none; }
.ovemo-mode-foot { text-align: center; color: var(--ovemo-muted); font-size: 13px; padding: 16px; }
@media (max-width: 520px) { .ovemo-mode-card { padding: 32px 22px 26px; } .ovemo-mode-card h1 { font-size: 23px; } }

/* --- The door of Ovemo Security (/login/: login, registration, two-factor screens) -------------------
   One card in the middle, the fields as in the contact form, the button as "Primary". The page itself
   brings this file - the theme registers no "ovemo-theme-portal" of its own. README.md of the theme. */
.ovemo-portal, .ovemo-order-card {
    --ovemo-card: #ffffff;
    --ovemo-fg: var(--ovemo-text);
    --ovemo-accent: var(--ovemo-navy);
    --ovemo-warn: #b32d2e;
    --ovemo-warn-soft: #fcf0f0;
    color: var(--ovemo-fg);
}
/* The order keeps its own green (.ovemo-order). */
.ovemo-portal { --ovemo-ok: #2e7d4f; --ovemo-ok-soft: #edf7f0; }
.ovemo-order-card { --ovemo-ok-soft: #edf7f0; }
.ovemo-portal *, .ovemo-portal *::before, .ovemo-portal *::after { box-sizing: border-box; }
.ovemo-portal [hidden] { display: none !important; }
.ovemo-portal.is-door { max-width: 520px; margin: 48px auto 64px; padding: 0 16px; }
.ovemo-portal.is-door .ovemo-page { background: var(--ovemo-card); border: 1px solid var(--ovemo-line); border-radius: var(--ovemo-radius); box-shadow: var(--ovemo-shadow); padding: 8px 28px 24px; }
/* The door inside the card of the order ("Login or registration") - the card is already there. */
.ovemo-order-card .ovemo-portal.is-door { max-width: none; margin: 0; padding: 0; }
.ovemo-order-card .ovemo-portal.is-door .ovemo-page { border: 0; box-shadow: none; padding: 0; }

/* "Log in | Register" - each opens its own screen; the form under it has no title of its own. */
.ovemo-switch { display: flex; flex-wrap: wrap; margin: 0 0 20px; border-bottom: 1px solid var(--ovemo-line); }
.ovemo-switch a { padding: 12px 20px; margin-bottom: -1px; color: var(--ovemo-muted); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.ovemo-switch a[aria-current="page"] { color: var(--ovemo-navy); border-bottom-color: var(--ovemo-orange); }
.ovemo-switch a:focus-visible { outline: 2px solid var(--ovemo-navy); outline-offset: 2px; }
.ovemo-switch ~ .ovemo-form > h2 { display: none; }

:is(.ovemo-portal, .ovemo-order-card) .ovemo-form { display: grid; gap: 16px; margin: 0; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-form h2 { margin: 16px 0 0; font-size: 1.4rem; color: var(--ovemo-navy); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-lead { margin: 0; font-size: 1rem; color: var(--ovemo-muted); line-height: 1.5; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-field { display: grid; gap: 6px; margin: 0; font-weight: 600; font-size: .95rem; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-field :is(input, select, textarea) { display: block; width: 100%; min-height: 48px; margin: 0; padding: 12px 14px; font: inherit; font-weight: 400; color: var(--ovemo-fg); border: 1px solid var(--ovemo-line); border-radius: 10px; background: var(--ovemo-bg-alt); transition: border-color .2s, box-shadow .2s, background .2s; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-field :is(input, select, textarea):focus { outline: none; border-color: var(--ovemo-navy); background: #fff; box-shadow: 0 0 0 3px rgba(31, 58, 95, .12); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-field input:is([type="checkbox"], [type="radio"]) { width: auto; min-height: 0; padding: 0; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-field input[readonly] { color: var(--ovemo-muted); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-field input.is-code { max-width: 200px; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-field [aria-invalid="true"] { border-color: var(--ovemo-warn); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-hint { font-weight: 400; font-size: .85rem; color: var(--ovemo-muted); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-field-error { font-weight: 400; font-size: .9rem; color: var(--ovemo-warn); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-notice { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: .95rem; line-height: 1.45; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-notice.is-error { background: var(--ovemo-warn-soft); color: var(--ovemo-warn); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-notice.is-ok { background: var(--ovemo-ok-soft); color: var(--ovemo-ok); }

:is(.ovemo-portal, .ovemo-order-card) .ovemo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-btn { font: inherit; font-weight: 700; color: #fff; background: var(--ovemo-navy); border: 0; border-radius: 12px; padding: 14px 26px; cursor: pointer; box-shadow: 0 8px 20px rgba(31, 58, 95, .25); transition: transform .25s var(--ovemo-ease), background-color .25s; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-btn:is(:hover, :focus) { background: var(--ovemo-navy-deep); color: #fff; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-btn:hover { transform: translateY(-2px); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-btn:focus-visible { outline: 2px solid var(--ovemo-orange); outline-offset: 2px; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-btn-small { display: inline-block; font: inherit; font-size: .9rem; color: var(--ovemo-navy); background: #fff; border: 1px solid var(--ovemo-navy); border-radius: 8px; padding: 6px 12px; text-decoration: none; cursor: pointer; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-btn-small:is(:hover, :focus) { background: var(--ovemo-sky-soft); color: var(--ovemo-navy); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-btn-small.is-delete { border-color: var(--ovemo-warn); color: var(--ovemo-warn); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-btn-small.is-delete:is(:hover, :focus) { background: var(--ovemo-warn-soft); color: var(--ovemo-warn); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-links :is(a, button) { font: inherit; font-size: .95rem; color: var(--ovemo-navy); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; box-shadow: none; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-links :is(a, button):hover { color: var(--ovemo-orange); background: none; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-small { margin: 18px 0 0; font-size: .8rem; color: var(--ovemo-muted); text-align: center; }

/* The two-factor key with its QR code; the login with face or finger. */
:is(.ovemo-portal, .ovemo-order-card) .ovemo-totp-key { display: grid; gap: 8px; justify-items: start; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-qr { display: block; max-width: 100%; height: auto; border: 1px solid var(--ovemo-line); border-radius: 8px; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-passkeys { display: grid; gap: 8px; margin-top: 18px; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-passkey-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-passkey-login { display: grid; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--ovemo-line); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-passkey-status:empty { display: none; }
/* "Protect your account" after the login - the paragraphs one after another, without empty lines (02.11.2026). */
:is(.ovemo-portal, .ovemo-order-card) .ovemo-form.is-advice { gap: 8px; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-form.is-advice p { margin: 0; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-form.is-advice .ovemo-actions { margin-top: 10px; }

/* "The company" under the manager's fields of the registration - a part of the same form, a line over it. */
:is(.ovemo-portal, .ovemo-order-card) .ovemo-form-part { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--ovemo-line); font-size: 1.05rem; color: var(--ovemo-navy); }

/* The fields of the company and the consents in the registration (Ovemo Accounts draws them with these classes). */
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-field { display: grid; gap: 6px; margin: 0; font-weight: 600; font-size: .95rem; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-field > label { margin: 0; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { display: block; width: 100%; min-height: 48px; margin: 0; padding: 12px 14px; font: inherit; font-weight: 400; color: var(--ovemo-fg); border: 1px solid var(--ovemo-line); border-radius: 10px; background: var(--ovemo-bg-alt); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-field textarea { min-height: 80px; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-field :is(input, select, textarea):focus { outline: none; border-color: var(--ovemo-navy); background: #fff; box-shadow: 0 0 0 3px rgba(31, 58, 95, .12); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-field [aria-invalid="true"] { border-color: var(--ovemo-warn); }
:is(.ovemo-portal, .ovemo-order-card) :is(.ovemo-portal-field-error, .ovemo-portal-field-warning, .ovemo-portal-optional) { margin: 0; font-weight: 400; font-size: .9rem; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-field-error { color: var(--ovemo-warn); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-field-warning { color: #8a5a00; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-optional { color: var(--ovemo-muted); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-invoice-check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 400; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-field .button { justify-self: start; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ovemo-navy); background: #fff; border: 1px solid var(--ovemo-navy); border-radius: 8px; padding: 6px 14px; cursor: pointer; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-portal-field .button:is(:hover, :focus) { background: var(--ovemo-sky-soft); color: var(--ovemo-navy); }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-check { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 400; line-height: 1.5; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-check input { width: auto; margin-top: 4px; }
:is(.ovemo-portal, .ovemo-order-card) .ovemo-check a { color: var(--ovemo-navy); }

@media (max-width: 600px) {
    .ovemo-portal.is-door { margin: 24px auto 40px; }
    .ovemo-portal.is-door .ovemo-page { padding: 4px 18px 20px; }
    :is(.ovemo-portal, .ovemo-order-card) .ovemo-actions { flex-direction: column; align-items: stretch; }
    :is(.ovemo-portal, .ovemo-order-card) .ovemo-actions .ovemo-btn { width: 100%; }
}

/* --- The block "Ovemo - Promotion" (Ovemo - Prices 1.5.0; the owner's samples примери/promocii*.html): a banner with a
   countdown, a card that turns over, a band at the bottom of the sticky header, a box in a corner. The colour from the
   panel of the block; with "reduced motion" nothing moves. --- */

.ovemo-promo { --promo-a: #14283f; --promo-b: #1f3a5f; --promo-c: #2d5a8c; --promo-ink: #fff; --promo-soft: #d7e1ee; --promo-accent: var(--ovemo-orange); --promo-cta-ink: #fff; }
.ovemo-promo.is-color-orange { --promo-a: #b85f12; --promo-b: #e8832a; --promo-c: #f2a65a; --promo-soft: #fff1e2; --promo-accent: var(--ovemo-navy); }
.ovemo-promo.is-color-green { --promo-a: #1c5536; --promo-b: #2e7d4f; --promo-c: #4a9c6c; --promo-soft: #dcefe3; }
.ovemo-promo.is-color-wine { --promo-a: #561f1f; --promo-b: #7a2e2e; --promo-c: #9c4848; --promo-soft: #f1dede; }
.ovemo-promo.is-color-white { --promo-a: #ffffff; --promo-b: #f4f7fb; --promo-c: #e9f0f9; --promo-ink: var(--ovemo-navy); --promo-soft: var(--ovemo-muted); }
.ovemo-promo[hidden] { display: none !important; }
.ovemo-promo__icon { margin-right: 6px; }
.ovemo-promo__cta { display: inline-block; background: var(--promo-accent); color: var(--promo-cta-ink); font-weight: 700; text-decoration: none; padding: 13px 26px; border-radius: 10px; font-size: 15px; box-shadow: 0 6px 18px rgba(20, 40, 63, .25); transition: transform .2s var(--ovemo-ease); }
.ovemo-promo__cta:hover { transform: translateY(-2px); color: var(--promo-cta-ink); }
.ovemo-promo__x { border: 0; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 12px; }

/* The banner and the flip card - inside the frame of the page, as .ovemo-wrap: at most 1320px, 16px from the edges
   (the owner, 02.11.2026: „банера ще му зададеш фиксирана ширина, защото сега е извън контролираната рамка“). */
.ovemo-promo--banner, .ovemo-promo--flip { max-width: min(1320px, calc(100% - 32px)); margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
/* The banner: the colour flows slowly, snowflakes fall, the countdown, the places taken. */
.ovemo-promo--banner { margin: 6px 0 26px; border-radius: 16px; color: var(--promo-ink); padding: 30px 32px; position: relative; overflow: hidden; background: linear-gradient(120deg, var(--promo-a), var(--promo-b) 45%, var(--promo-c) 70%, var(--promo-a)); background-size: 250% 250%; border: 1px solid rgba(20, 40, 63, .08); }
.ovemo-promo--banner.is-flow { animation: ovemo-promo-flow 14s ease infinite; }
@keyframes ovemo-promo-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.ovemo-promo__flake { position: absolute; top: -10px; color: rgba(255, 255, 255, .55); animation: ovemo-promo-fall linear infinite; pointer-events: none; }
.ovemo-promo.is-color-white .ovemo-promo__flake { color: rgba(31, 58, 95, .3); }
@keyframes ovemo-promo-fall { to { transform: translateY(330px) rotate(240deg); } }
.ovemo-promo__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; position: relative; z-index: 1; }
.ovemo-promo__tag { display: inline-block; background: var(--promo-accent); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.ovemo-promo__title { margin: 12px 0 6px; font-size: 30px; line-height: 1.15; color: inherit; }
.ovemo-promo__lead { margin: 0 0 18px; color: var(--promo-soft); max-width: 560px; font-size: 15px; }
.ovemo-promo__count { display: flex; gap: 10px; }
.ovemo-promo__count div { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; width: 72px; padding: 10px 0; text-align: center; }
.ovemo-promo.is-color-white .ovemo-promo__count div { background: #fff; border-color: var(--ovemo-line); }
.ovemo-promo__count b { display: block; font-size: 28px; font-variant-numeric: tabular-nums; }
.ovemo-promo__count span { font-size: 11px; color: var(--promo-soft); text-transform: uppercase; letter-spacing: .05em; }
.ovemo-promo__seats { margin-top: 16px; max-width: 360px; }
.ovemo-promo__seats-label { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--promo-soft); margin-bottom: 6px; }
.ovemo-promo__seats-label b { color: var(--promo-ink); }
.ovemo-promo__track { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.ovemo-promo.is-color-white .ovemo-promo__track { background: var(--ovemo-line); }
.ovemo-promo__fill { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--ovemo-orange), #ffb26b); transition: width 1.2s ease; }

/* The card that turns over: in front what is given and the places left (the ring fills), behind - the details and the button. */
.ovemo-promo--flip { perspective: 1000px; min-height: 250px; position: relative; }
.ovemo-promo--flip.is-turn { cursor: pointer; }
.ovemo-promo__flip-in { position: relative; width: 100%; min-height: 250px; transition: transform .7s cubic-bezier(.3, .7, .3, 1); transform-style: preserve-3d; }
.ovemo-promo--flip.is-turn:hover .ovemo-promo__flip-in, .ovemo-promo--flip.is-turned .ovemo-promo__flip-in, .ovemo-promo--flip.is-turn:focus-visible .ovemo-promo__flip-in { transform: rotateY(180deg); }
.ovemo-promo__face { border-radius: 16px; padding: 20px; display: flex; flex-direction: column; min-height: 250px; box-sizing: border-box; }
.ovemo-promo--flip.is-turn .ovemo-promo__face { position: absolute; inset: 0; backface-visibility: hidden; }
.ovemo-promo--flip:not(.is-turn) .ovemo-promo__face + .ovemo-promo__face { margin-top: 12px; }
.ovemo-promo__face.is-front { background: #fff; border: 1px solid var(--ovemo-line); box-shadow: 0 6px 20px rgba(20, 40, 63, .08); color: var(--ovemo-text); }
.ovemo-promo__face.is-front .ovemo-promo__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ovemo-orange-soft); display: grid; place-items: center; font-size: 24px; margin: 0 0 12px; }
.ovemo-promo__face h3 { margin: 0 0 6px; font-size: 18px; }
.ovemo-promo__face.is-front h3 { color: var(--promo-b); }
.ovemo-promo.is-color-white .ovemo-promo__face.is-front h3 { color: var(--ovemo-navy); }
.ovemo-promo__gift { color: var(--ovemo-muted); margin: 0 0 auto; }
.ovemo-promo__ring { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.ovemo-promo__ring svg { width: 52px; height: 52px; transform: rotate(-90deg); flex: 0 0 52px; }
.ovemo-promo__ring .is-bg { stroke: #edf0f4; }
.ovemo-promo__ring .is-fg { stroke: var(--ovemo-orange); stroke-linecap: round; transition: stroke-dashoffset 1.2s ease; }
.ovemo-promo__ring b { display: block; color: var(--ovemo-navy); font-size: 16px; }
.ovemo-promo__ring span { font-size: 13px; color: var(--ovemo-muted); }
.ovemo-promo--flip .ovemo-promo__count { margin-top: 12px; }
.ovemo-promo--flip .ovemo-promo__count div { background: var(--ovemo-bg-alt); border-color: var(--ovemo-line); width: 58px; padding: 6px 0; }
.ovemo-promo--flip .ovemo-promo__count b { font-size: 20px; }
.ovemo-promo--flip .ovemo-promo__count span { color: var(--ovemo-muted); }
.ovemo-promo__hint { font-size: 12px; color: var(--ovemo-muted); margin-top: 10px; }
.ovemo-promo__face.is-back { background: linear-gradient(150deg, var(--promo-b), var(--promo-a)); color: var(--promo-ink); }
.ovemo-promo--flip.is-turn .ovemo-promo__face.is-back { transform: rotateY(180deg); }
.ovemo-promo__face.is-back ul { margin: 0 0 auto; padding-left: 18px; color: var(--promo-soft); line-height: 1.6; }
.ovemo-promo__face.is-back .ovemo-promo__cta { align-self: flex-start; padding: 10px 18px; font-size: 14px; margin-top: 12px; }

/* The band: a slow line at the bottom of the sticky header (assets/js/promotion.js moves it there); it stops under the mouse. */
.ovemo-promo--ticker { display: flex; align-items: center; background: var(--promo-b); color: var(--promo-ink); min-height: 38px; overflow: hidden; font-size: 14px; }
.ovemo-promo--ticker.is-in-header { margin: 0; }
.ovemo-promo__run { flex: 1; overflow: hidden; white-space: nowrap; }
.ovemo-promo__run-text { display: inline-block; padding-left: 100%; animation: ovemo-promo-run 28s linear infinite; }
.ovemo-promo--ticker:hover .ovemo-promo__run-text, .ovemo-promo--ticker:focus-within .ovemo-promo__run-text { animation-play-state: paused; }
@keyframes ovemo-promo-run { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.ovemo-promo__link { color: #ffd8b3; font-weight: 600; margin-left: 8px; }
.ovemo-promo.is-color-white .ovemo-promo__link, .ovemo-promo.is-color-orange .ovemo-promo__link { color: inherit; text-decoration: underline; }

/* The box in a corner: it jumps now and then until it is seen; on a phone - always at the bottom, the whole width. */
.ovemo-promo--corner { position: fixed; z-index: 80; width: 280px; background: #fff; color: var(--ovemo-text); border: 2px solid var(--promo-b); border-radius: 12px; box-shadow: 0 8px 24px rgba(20, 40, 63, .18); padding: 14px 16px; box-sizing: border-box; }
.ovemo-promo--corner.is-color-white { border-color: var(--ovemo-orange); }
.ovemo-promo--corner.is-at-br { right: 24px; bottom: 84px; }
.ovemo-promo--corner.is-at-bl { left: 16px; bottom: 16px; }
.ovemo-promo--corner.is-at-bc { left: calc(50% - 140px); bottom: 16px; }
.ovemo-promo--corner.is-at-mr { right: 24px; top: calc(50% - 60px); }
.ovemo-promo--corner.is-at-tr { right: 24px; top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px); }
.ovemo-promo--corner.is-at-tl { left: 16px; top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px); }
.ovemo-promo--corner h3 { margin: 0 0 6px; color: var(--ovemo-navy); font-size: 16px; padding-right: 22px; }
.ovemo-promo--corner p { margin: 0 0 10px; font-size: 14px; }
.ovemo-promo--corner .ovemo-promo__x { position: absolute; top: 8px; right: 2px; color: var(--ovemo-muted); }
.ovemo-promo__left { color: var(--ovemo-orange); font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.ovemo-promo--corner .ovemo-promo__cta { padding: 9px 16px; font-size: 14px; background: var(--ovemo-navy); }
.ovemo-promo--corner.is-jumping { animation: ovemo-promo-jump .7s ease; }
@keyframes ovemo-promo-jump { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-14px); } 55% { transform: translateY(0); } 75% { transform: translateY(-5px); } }

@media (max-width: 900px) {
    .ovemo-promo__grid { grid-template-columns: 1fr; }
    .ovemo-promo--banner { padding: 24px 20px; }
    .ovemo-promo__title { font-size: 24px; }
}
@media (max-width: 600px) {
    .ovemo-promo--corner[class*="is-at-"] { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; }
    .ovemo-promo__count div { width: 58px; }
}
@media (prefers-reduced-motion: reduce) {
    .ovemo-promo--banner.is-flow, .ovemo-promo__flake, .ovemo-promo--corner.is-jumping { animation: none; }
    .ovemo-promo__run-text { animation: none; padding-left: 16px; white-space: normal; }
    .ovemo-promo__run { white-space: normal; }
    .ovemo-promo__flip-in, .ovemo-promo__fill, .ovemo-promo__ring .is-fg, .ovemo-promo__cta { transition: none; }
}
