/* cdek.blog — фирменные стили поверх Kadence */
:root{--cdek:#15803d;--cdek-d:#116a32;--cdek-l:#eaf8ef;--ink:#14202b;--muted:#566370;--line:#e4e9ee;--bg:#f6f8f9;
  --global-body-font-family:'Golos Text',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --global-heading-font-family:'Golos Text',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(/wp-content/mu-plugins/cdek-assets/golos-cyr.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 800;font-display:swap;src:url(/wp-content/mu-plugins/cdek-assets/golos-lat.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
body,button,input,select,textarea{font-family:var(--global-body-font-family)!important;-webkit-font-smoothing:antialiased}
body{color:var(--ink);font-size:17px;line-height:1.65;background:#fff}
h1,h2,h3,h4,.entry-title{font-family:var(--global-heading-font-family)!important;color:var(--ink);letter-spacing:-.01em;font-weight:750}
.entry-content h2{font-size:clamp(22px,2.6vw,28px);line-height:1.25;margin:1.8em 0 .6em}
.entry-content h3{font-size:clamp(18px,2vw,21px);margin:1.4em 0 .5em}
.entry-content p,.entry-content li{color:#24313d}
.entry-content a{color:#0f6b2f;text-decoration-thickness:1px;text-underline-offset:3px}

/* фон и контейнер: без серых полей на мобильном */
.site,.content-bg,.entry.content-bg,body.content-style-boxed .content-bg{background:#fff!important}
body.content-style-boxed .site{background:#fff}
@media(max-width:767px){
  #primary .content-container.site-container{padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
  #primary article.entry{margin-left:0!important;margin-right:0!important;width:auto!important}
  #primary .entry-content-wrap{padding:0!important}
  .site-header-row-container-inner .site-container{padding-left:16px!important;padding-right:16px!important}
  #primary .entry.content-bg{box-shadow:none!important}
  .content-area{margin-top:16px!important;margin-bottom:24px!important}
  body{font-size:16.5px}
}

/* шапка */
.site-header-wrap,#masthead{border-bottom:1px solid var(--line);background:#fff}
.site-branding .site-title{font-weight:800!important;font-size:20px!important;color:var(--ink)!important;letter-spacing:-.02em}
.site-branding .site-title::before{content:'';display:inline-block;width:12px;height:12px;border-radius:3px;background:var(--cdek);margin-right:8px;vertical-align:1px}
.menu-toggle-open{color:var(--ink)!important;padding:10px!important}
.menu-toggle-open .menu-toggle-icon svg{width:28px;height:28px}
.header-navigation .menu>li>a{font-weight:600;color:var(--ink)}
.header-navigation .menu>li:last-child>a{background:var(--cdek);color:#fff!important;border-radius:10px;padding:10px 16px!important;margin-left:6px}

/* кнопки */
.cdek-cta-btn,a.cdek-cta-btn,button.cdek-cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--cdek);color:#fff!important;font-weight:700;padding:15px 24px;border-radius:12px;text-decoration:none!important;border:0;cursor:pointer;font-size:16.5px;line-height:1.2;transition:background .2s,transform .1s;box-shadow:0 6px 18px rgba(26,178,72,.25)}
.cdek-cta-btn:hover{background:var(--cdek-d)}.cdek-cta-btn:active{transform:translateY(1px)}

/* hero */
.cdek-hero{background:radial-gradient(120% 140% at 100% 0%,#22c55e 0%,#16a34a 35%,#0d5f2b 100%);color:#fff;border-radius:22px;padding:40px 32px;margin:8px 0 36px;position:relative;overflow:hidden}
.cdek-hero::after{content:'';position:absolute;right:-60px;bottom:-60px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.08)}
.cdek-hero h1{color:#fff!important;font-size:clamp(28px,4.6vw,46px);line-height:1.1;margin:0 0 14px;max-width:820px}
.cdek-hero p{color:#e9fbef!important;font-size:18px;max-width:640px;margin:0 0 20px}
.cdek-hero a.cdek-cta-btn{background:#fff;color:#0f6b30!important;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.cdek-badges{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:0 0 22px;padding:0;list-style:none}
.cdek-badges li{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);color:#fff!important;border-radius:999px;padding:6px 12px;font-size:14px;font-weight:600;margin:0}
@media(max-width:640px){.cdek-hero{padding:28px 20px;border-radius:18px}.cdek-hero p{font-size:16.5px}.cdek-hero a.cdek-cta-btn{display:flex;width:100%}}

/* карточки преимуществ */
.cdek-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 34px}
.cdek-card{border:0;border-radius:16px;padding:18px;background:var(--bg)}
.cdek-card .ic{display:inline-flex;width:42px;height:42px;border-radius:12px;background:var(--cdek-l);color:var(--cdek-d);align-items:center;justify-content:center;font-size:20px;font-weight:800;margin-bottom:10px}
.cdek-card .ic svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cdek-card strong{display:block;font-size:17px;color:var(--ink)}
.cdek-card p{margin:6px 0 0;font-size:15px;line-height:1.5;color:var(--muted)}
@media(max-width:900px){.cdek-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.cdek-grid{grid-template-columns:1fr;gap:10px}}

/* шаги */
.cdek-steps{list-style:none!important;counter-reset:s;margin:18px 0 20px!important;padding:0!important}
.cdek-steps li{counter-increment:s;position:relative;padding:6px 0 20px 56px;margin:0;font-size:15.5px;line-height:1.5;color:var(--muted)}
.cdek-steps b{color:var(--ink)}
.cdek-steps li::before{content:counter(s);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;background:var(--cdek);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.cdek-steps li:not(:last-child)::after{content:'';position:absolute;left:19px;top:44px;bottom:2px;width:2px;background:var(--line)}
.cdek-steps b{display:block;font-size:17px}

/* CTA внутри статей */
.cdek-cta{background:var(--cdek-l);border:0;border-left:5px solid var(--cdek);border-radius:16px;padding:20px 22px;margin:32px 0}
.cdek-cta p{margin:0 0 10px}.cdek-cta p:last-child{margin:0}

/* форма */
.cdek-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 12px 40px rgba(20,32,43,.07);margin:18px 0 30px}
.cdek-form label{display:flex;flex-direction:column;font-size:14px;font-weight:600;color:var(--ink);gap:6px;margin:0}
.cdek-form input[type=text],.cdek-form input[type=tel],.cdek-form select,.cdek-form textarea{border:1.5px solid #d3dbe3;border-radius:12px;padding:13px 14px;font-size:16px;font-weight:400;width:100%;box-sizing:border-box;background:#fff;color:var(--ink)}
.cdek-form ::placeholder{color:#a3adb8}
.cdek-form select{-webkit-appearance:none;appearance:none;padding-right:40px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23566370' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center}
.cdek-form input:focus,.cdek-form select:focus,.cdek-form textarea:focus{outline:none;border-color:var(--cdek);box-shadow:0 0 0 3px rgba(26,178,72,.15)}
.cdek-form .cdek-wide,.cdek-form button,.cdek-form .cdek-note{grid-column:1/-1}
.cdek-form button.cdek-cta-btn{width:100%;font-size:17px;padding:16px}
.cdek-form .cdek-check{flex-direction:row;align-items:flex-start;font-weight:400;gap:10px;font-size:13.5px;color:var(--muted)}
.cdek-form .cdek-check input{margin-top:2px;width:18px;height:18px;accent-color:var(--cdek);flex:none}
.cdek-note{font-size:13px;color:var(--muted);margin:0;text-align:center}
.cdek-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
@media(max-width:640px){.cdek-form{grid-template-columns:1fr;padding:18px;border-radius:16px}}

/* плавающая кнопка */
.cdek-float{position:fixed;right:20px;bottom:20px;z-index:999;transition:opacity .25s,transform .25s}
.cdek-float.is-hidden{opacity:0;transform:translateY(120%);pointer-events:none}
@media(max-width:640px){.cdek-float{left:16px;right:16px;bottom:calc(12px + env(safe-area-inset-bottom));width:auto}body{padding-bottom:84px}}

/* статьи */
.single-post .entry-title{font-size:clamp(26px,4vw,40px)!important;line-height:1.15}
.entry-content table{border-collapse:collapse;width:100%;display:block;overflow-x:auto;font-size:15px;margin:1.4em 0}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.entry-content th{background:var(--bg);font-weight:700}
.entry-content blockquote{border-left:4px solid var(--cdek);background:var(--bg);padding:14px 18px;border-radius:0 12px 12px 0;font-style:normal}
.cdek-faq h2{margin-top:40px}.cdek-faq details{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:10px 0;background:#fff}
.cdek-faq summary{font-weight:700;cursor:pointer;list-style-position:outside}
.cdek-faq details[open] summary{color:var(--cdek-d)}
.cdek-disclaimer{font-size:13.5px;color:#5f6b78;margin-top:18px;line-height:1.5}
.cdek-err{background:#fff1f1;border:1px solid #f3c2c2;color:#9b1c1c;padding:12px 14px;border-radius:12px;margin:14px 0}
#ez-toc-container{border-radius:14px!important;border:1px solid var(--line)!important;background:var(--bg)!important;padding:14px 18px!important;width:100%!important;box-sizing:border-box}
.rank-math-breadcrumb{font-size:14px;color:var(--muted);margin-bottom:10px}
.rank-math-breadcrumb a{color:var(--muted)}

/* лента статей */
.wp-block-latest-posts.is-grid{gap:16px}
.wp-block-latest-posts.is-grid li{border:1px solid var(--line);border-radius:16px;padding:18px;margin:0!important;background:#fff}
.wp-block-latest-posts__post-title{font-weight:700;color:var(--ink);font-size:17px;line-height:1.35;text-decoration:none}
.wp-block-latest-posts__post-excerpt{color:var(--muted);font-size:14.5px;margin-top:6px}
@media(max-width:640px){.wp-block-latest-posts.is-grid li{width:100%!important}}
.loop-entry{border-radius:16px!important;border:1px solid var(--line);box-shadow:none!important}
.home .entry-hero,.home .entry-header,.home .page-title{display:none}
.site-footer{border-top:1px solid var(--line)}

.cdek-check a{white-space:nowrap}

/* читайте также */
.cdek-related{margin:40px 0 10px;padding:20px 22px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
.cdek-related h2{margin:0 0 10px!important;font-size:21px!important}
.cdek-related ul{margin:0;padding:0;list-style:none}
.cdek-related li{margin:0;border-top:1px solid var(--line)}
.cdek-related li:first-child{border-top:0}
.cdek-related a{display:block;padding:11px 0;color:var(--ink)!important;text-decoration:none!important;font-weight:600;line-height:1.4}
.cdek-related a:hover{color:var(--cdek-d)!important}
.entry-related{display:none!important}
/* оглавление компактнее на мобильном */
@media(max-width:640px){#ez-toc-container .ez-toc-list li{font-size:15px;line-height:1.45;margin:4px 0}}
/* таблицы — горизонтальная прокрутка и минимальная ширина колонок */
.entry-content table th,.entry-content table td{min-width:140px}
@media(max-width:640px){.entry-content table{font-size:14px}}
/* CTA внутри статьи — кнопка на всю ширину на мобильном */
@media(max-width:640px){.cdek-cta a.cdek-cta-btn{display:flex;width:100%}}
/* лид статьи */
.single-post .entry-content > p:first-of-type{font-size:1.08em;color:var(--ink)}

.post-navigation,.navigation.post-navigation{display:none!important}
.rank-math-breadcrumb p{margin:0;font-size:13.5px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-footer .footer-navigation .menu{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center}
.site-footer .footer-navigation a{color:var(--muted)!important;font-size:14px}
.site-footer{padding-bottom:10px}

.cdek-final{margin:36px 0 10px}.cdek-final h2{margin:0 0 6px!important}.cdek-final>p{color:var(--muted);margin:0 0 4px}

.cdek-related,.cdek-faq,.cdek-final,.cdek-disclaimer{content-visibility:auto;contain-intrinsic-size:auto 600px}
.entry-content > .cdek-cta,.entry-content > #ez-toc-container{content-visibility:visible}
@media(max-width:640px){.rank-math-breadcrumb a{padding:6px 0;display:inline-block}}

/* живой портал */
.cdek-ticker{display:flex;align-items:center;gap:12px;background:#0f1b14;color:#fff;font-size:14px;height:38px;overflow:hidden;padding:0 0 0 16px}
.cdek-ticker-l{flex:none;background:var(--cdek);color:#fff;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.06em;padding:4px 10px;border-radius:6px;position:relative}
.cdek-ticker-l:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#fff;margin-right:6px;vertical-align:1px;animation:cdekpulse 1.4s infinite}
@keyframes cdekpulse{50%{opacity:.25}}
.cdek-ticker-w{overflow:hidden;flex:1;mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent)}
.cdek-ticker-t{display:inline-flex;gap:36px;white-space:nowrap;animation:cdektick 90s linear infinite}
.cdek-ticker:hover .cdek-ticker-t{animation-play-state:paused}
.cdek-ticker a{color:#e6efe9!important;text-decoration:none}.cdek-ticker a b{color:#7ee2a0;font-weight:600;margin-right:4px}
@keyframes cdektick{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.cdek-ticker-t{animation:none}}
.cdek-meta{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--muted);font-size:14px;margin:6px 0 18px}
.cdek-meta a{color:var(--muted)!important;text-decoration:underline dotted}
.cdek-feed{list-style:none;margin:0;padding:0}
.cdek-feed li{display:grid;grid-template-columns:118px 1fr;gap:4px 14px;padding:11px 0;border-bottom:1px solid var(--line);align-items:baseline}
.cdek-feed time{color:var(--cdek-d);font-size:13px;font-weight:600}
.cdek-feed a{color:var(--ink)!important;font-weight:600;text-decoration:none;line-height:1.35}
.cdek-feed a:hover{color:var(--cdek-d)!important}
.cdek-feed-c{grid-column:2;color:var(--muted);font-size:12.5px}
@media(max-width:640px){.cdek-feed li{grid-template-columns:1fr}.cdek-feed-c{grid-column:1}}
.cdek-popular{margin:0;padding-left:0;list-style:none;counter-reset:pop}
.cdek-popular li{counter-increment:pop;display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.cdek-popular li:before{content:counter(pop);font-weight:800;font-size:22px;color:var(--cdek);min-width:26px;line-height:1.1}
.cdek-popular a{color:var(--ink)!important;font-weight:600;text-decoration:none}
.cdek-live-grid{display:grid;grid-template-columns:2fr 1fr;gap:32px;margin:8px 0 32px}
@media(max-width:860px){.cdek-live-grid{grid-template-columns:1fr}}
.cdek-live-h{display:flex;align-items:center;gap:10px;margin:0 0 8px!important}
.cdek-live-h small{font-size:13px;font-weight:500;color:var(--muted)}
.comments-area{border-top:1px solid var(--line);margin-top:32px;padding-top:12px}
.comment-respond textarea,.comment-respond input[type=text],.comment-respond input[type=email]{border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 12px;width:100%}
.comment-respond .submit{background:var(--cdek)!important;border-radius:10px!important;padding:12px 22px!important;font-weight:700}
.comment-list .comment-author .fn{font-weight:700}
.comment-list .bypostauthor>.comment-body .fn:after{content:"Редакция";background:var(--cdek-l);color:var(--cdek-d);font-size:11px;font-weight:700;border-radius:5px;padding:2px 6px;margin-left:8px}

.cdek-source{font-size:14px;color:var(--muted);margin-top:14px}.cdek-source a{color:var(--muted)!important}

.cdek-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:8px 0 18px}
@media(max-width:900px){.cdek-cards{grid-template-columns:1fr 1fr}}@media(max-width:600px){.cdek-cards{grid-template-columns:1fr}}
.cdek-cardp{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:#fff;text-decoration:none!important;transition:box-shadow .15s,transform .15s}
.cdek-cardp:hover{box-shadow:0 8px 24px rgba(20,32,43,.08);transform:translateY(-2px)}
.cdek-cardp-c{font-size:12px;font-weight:700;color:var(--cdek-d);text-transform:uppercase;letter-spacing:.04em}
.cdek-cardp strong{color:var(--ink);font-size:17px;line-height:1.3}
.cdek-cardp-e{color:var(--muted);font-size:14.5px;line-height:1.45}
.cdek-cardp time{margin-top:auto;color:#8792a0;font-size:13px}

.cdek-why{list-style:none;padding:0;margin:0 0 8px;display:grid;gap:10px}
.cdek-why li{position:relative;padding:12px 14px 12px 44px;border:1px solid var(--line);border-radius:12px;background:#fff;line-height:1.45}
.cdek-why li:before{content:"✓";position:absolute;left:14px;top:11px;width:20px;height:20px;border-radius:50%;background:var(--cdek-l);color:var(--cdek-d);font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}
.cdek-why b{display:block;color:var(--ink)}

/* акцент «дешевле» */
.cdek-hl{background:linear-gradient(transparent 58%,#b9f3cc 58%);color:inherit;padding:0 2px;border-radius:2px}
.cdek-hero .cdek-hl{background:#fff;color:var(--cdek-d);padding:0 8px;border-radius:8px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.cdek-save{display:flex;align-items:center;gap:18px;margin:22px 0 26px;padding:18px 20px;border-radius:16px;
  background:linear-gradient(135deg,#eafaf0 0%,#d6f5e1 100%);border:1.5px solid #9fe0b6;position:relative;overflow:hidden}
.cdek-save:after{content:"₽";position:absolute;right:-6px;bottom:-34px;font-size:120px;font-weight:800;color:rgba(21,128,61,.08);pointer-events:none}
.cdek-save-l{display:flex;flex-direction:column;gap:6px;flex:1;position:relative;z-index:1}
.cdek-save-tag{align-self:flex-start;background:var(--cdek);color:#fff;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;padding:3px 9px;border-radius:6px}
.cdek-save strong{font-size:18.5px;line-height:1.3;color:var(--ink)}
.cdek-save-l>span:last-child{color:#2f4a3a;font-size:15px;line-height:1.45}
.cdek-save .cdek-cta-btn{flex:none;position:relative;z-index:1;white-space:nowrap}
@media(max-width:640px){.cdek-save{flex-direction:column;align-items:stretch}.cdek-save .cdek-cta-btn{text-align:center}}
/* у всех CTA-блоков — ярлык экономии */
.cdek-cta{position:relative}
.cdek-cta:before{content:"₽ По договору до 40% дешевле";display:inline-block;margin-bottom:8px;background:#fff;color:var(--cdek-d);font-size:12.5px;font-weight:800;padding:4px 10px;border-radius:999px;box-shadow:0 1px 0 rgba(0,0,0,.04)}
/* таблица сравнения на главной: колонка «по договору» */
.entry-content table td:last-child,.entry-content table th:last-child{background:#effaf3}
.entry-content table th:last-child{color:var(--cdek-d)}
/* форма */
.cdek-check{display:flex!important;gap:10px;align-items:flex-start;font-size:14px;line-height:1.4}
.cdek-check input{margin-top:3px;flex:none}
.cdek-form input::placeholder,.cdek-form textarea::placeholder{color:#7d8894}

/* hero: контрастные плашки */
.cdek-badges li{background:#fff!important;border:0!important;color:#0f5a2a!important;font-weight:700;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.cdek-badges li:first-child{background:#ffe066!important;color:#3d2e00!important}
.cdek-hero .cdek-hl{background:#ffe066!important;color:#3d2e00!important}
/* тепловая карта сравнения */
.cdek-hm{display:grid;gap:6px;margin:10px 0 26px}
.cdek-hm-row{display:grid;grid-template-columns:1.1fr 1fr 1.25fr;gap:6px;align-items:stretch}
.cdek-hm-head>div{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:6px 10px;border-radius:8px;text-align:center}
.cdek-hm-head .bad{background:#fde2e1;color:#9b1c1c}.cdek-hm-head .good{background:var(--cdek);color:#fff}
.cdek-hm-k{display:flex;align-items:center;font-weight:700;font-size:14.5px;color:var(--ink);padding:10px 8px 10px 0;line-height:1.3}
.cdek-hm-c{display:flex;gap:8px;align-items:flex-start;padding:11px 12px;border-radius:10px;font-size:14.5px;line-height:1.35}
.cdek-hm-c i{font-style:normal;font-weight:800;flex:none;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px}
.cdek-hm-c.bad{color:#7f1d1d}.cdek-hm-c.bad i{background:#fff;color:#c0392b}
.cdek-hm-c.good{color:#0b3d1d;font-weight:600}.cdek-hm-c.good i{background:#fff;color:var(--cdek-d)}
.b1{background:#fdeceb}.b2{background:#fbd5d2}.b3{background:#f5a9a3}
.g1{background:#dff5e6}.g2{background:#b8ebc8}.g3{background:#7fd99d}
.cdek-hm-c.g3{font-weight:800}
@media(max-width:640px){
 .cdek-hm-row{grid-template-columns:1fr 1fr}
 .cdek-hm-k{grid-column:1/-1;padding:8px 0 0}
 .cdek-hm-head>div:first-child{display:none}
 .cdek-hm-c{font-size:13.5px;padding:9px 10px}
}

/* фото */
.cdek-cardp{padding:0!important;overflow:hidden}
.cdek-cardp>*:not(.cdek-cardp-img){margin-left:18px;margin-right:18px}
.cdek-cardp>.cdek-cardp-c{margin-top:14px}.cdek-cardp time{margin-bottom:16px}
.cdek-cardp-img{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--bg)}
.cdek-cardp-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.cdek-cardp:hover .cdek-cardp-img img{transform:scale(1.04)}
.cdek-feed li{grid-template-columns:72px 1fr;grid-template-rows:auto auto auto}
.cdek-feed-img{grid-row:1/4;width:72px;height:72px;border-radius:10px;overflow:hidden;background:var(--bg)}
.cdek-feed-img img{width:72px;height:72px;object-fit:cover;display:block}
.cdek-feed li time,.cdek-feed li a,.cdek-feed-c{grid-column:2}
@media(max-width:640px){.cdek-feed li{grid-template-columns:64px 1fr}.cdek-feed-img,.cdek-feed-img img{width:64px;height:64px}}
.single .post-thumbnail,.single .article-post-thumbnail{border-radius:16px;overflow:hidden;margin-bottom:6px}
.single .post-thumbnail img{width:100%;aspect-ratio:16/9;object-fit:cover}
.cdek-photo-credit{font-size:12px;color:#8792a0;margin:0 0 18px;text-align:right}
.entry-content figure.cdek-inphoto{margin:26px 0;border-radius:14px;overflow:hidden}
.entry-content figure.cdek-inphoto img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.entry-content figure.cdek-inphoto figcaption{font-size:12.5px;color:#8792a0;padding:6px 2px 0;text-align:right}
/* архивы рубрик: карточки с фото */
.loop-entry .post-thumbnail{border-radius:12px 12px 0 0;overflow:hidden}
.loop-entry .post-thumbnail img{aspect-ratio:16/9;object-fit:cover}

/* ===== Двухцветный акцент: зелёный + солнечный жёлтый ===== */
:root{--acc:#ffc629;--acc-d:#e0a800;--acc-l:#fff6d6;--acc-ink:#2b2100}
/* главные кнопки — жёлтые, с тёмным текстом: максимальный контраст на зелёном и белом */
.cdek-cta-btn,.cdek-form button[type=submit],.header-button,.comment-respond .submit{background:var(--acc)!important;color:var(--acc-ink)!important;border:0!important;
  box-shadow:0 4px 0 var(--acc-d),0 8px 18px rgba(224,168,0,.28)!important;font-weight:800!important;transition:transform .12s,box-shadow .12s}
.cdek-cta-btn:hover,.cdek-form button[type=submit]:hover,.header-button:hover{transform:translateY(-1px);box-shadow:0 5px 0 var(--acc-d),0 12px 22px rgba(224,168,0,.35)!important;filter:brightness(1.03)}
.cdek-cta-btn:active{transform:translateY(2px);box-shadow:0 2px 0 var(--acc-d)!important}
.cdek-hero .cdek-cta-btn{background:var(--acc)!important;color:var(--acc-ink)!important}
/* заголовки секций: жёлто-зелёная полоса */
.entry-content h2{position:relative;padding-bottom:10px}
.entry-content h2:after{content:"";position:absolute;left:0;bottom:0;width:56px;height:5px;border-radius:3px;background:linear-gradient(90deg,var(--cdek) 0 55%,var(--acc) 55% 100%)}
.cdek-hero h1,.cdek-hero h2{padding-bottom:0}.cdek-hero h1:after,.cdek-hero h2:after,.cdek-live-h:after,.cdek-related h2:after,.cdek-final h2:after,.cdek-faq h2:after{display:none}
/* выделения */
.cdek-hl{background:linear-gradient(transparent 55%,var(--acc) 55%)!important;color:inherit!important}
.cdek-hero .cdek-hl{background:var(--acc)!important;color:var(--acc-ink)!important}
.entry-content strong{background:linear-gradient(transparent 70%,var(--acc-l) 70%)}
/* ярлыки и бейджи */
.cdek-save-tag,.cdek-ticker-l{background:var(--acc)!important;color:var(--acc-ink)!important}
.cdek-ticker-l:before{background:var(--cdek)!important}
.cdek-ticker a b{color:var(--acc)!important}
.cdek-cardp-c{color:var(--cdek-d)!important;background:var(--cdek-l);align-self:flex-start;padding:3px 8px;border-radius:6px}
.cdek-cardp:hover{box-shadow:0 10px 26px rgba(20,32,43,.10),inset 0 -4px 0 var(--acc)!important}
.cdek-popular li:before{color:var(--acc-d)!important}
.cdek-popular li:nth-child(-n+3):before{background:var(--acc);color:var(--acc-ink)!important;border-radius:8px;text-align:center;min-width:30px;font-size:18px;padding:2px 0}
.cdek-feed time{color:var(--cdek-d)!important}
/* плашка экономии: жёлтая рамка-акцент */
.cdek-save{border:2px solid var(--acc)!important;background:linear-gradient(135deg,#fffbea 0%,#e9f9ef 100%)!important}
.cdek-save:after{color:rgba(224,168,0,.14)!important}
/* CTA-блоки внутри статей */
.cdek-cta{border-left:6px solid var(--acc)!important}
.cdek-cta:before{background:var(--acc)!important;color:var(--acc-ink)!important}
/* шаги и карточки */
.cdek-steps li:before{background:var(--acc)!important;color:var(--acc-ink)!important;border-color:var(--acc)!important}
.cdek-card .ic{background:var(--acc-l)!important;color:var(--acc-d)!important}
.cdek-card .ic svg{stroke:var(--acc-d)!important}
.cdek-card:nth-child(even) .ic{background:var(--cdek-l)!important;color:var(--cdek-d)!important}
.cdek-card:nth-child(even) .ic svg{stroke:var(--cdek-d)!important}
.cdek-why li:before{background:var(--acc)!important;color:var(--acc-ink)!important}
/* тепловая карта: шапка «по договору» с жёлтой звездой */
.cdek-hm-head .good:before{content:"★ ";color:var(--acc)}
/* меню: активный/ховер подчёркивание жёлтым */
.main-navigation .menu>li>a:hover,.main-navigation .menu>.current-menu-item>a{box-shadow:inset 0 -3px 0 var(--acc)}
/* плавающая кнопка */
.cdek-float{background:var(--acc)!important;color:var(--acc-ink)!important}
/* оглавление */
#ez-toc-container{border-left:5px solid var(--acc)!important}
/* хлебные крошки и ссылки в тексте */
.entry-content a:not(.cdek-cta-btn){text-decoration-color:var(--acc)!important;text-decoration-thickness:2px!important;text-underline-offset:3px}

/* ===== Лёгкая форма заявки ===== */
.cdek-form{display:block!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:18px!important;padding:18px!important;box-shadow:0 10px 30px rgba(20,32,43,.06)!important;max-width:620px}
.cdek-f-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cdek-f-in{width:100%;height:52px;border:1.5px solid #dfe5ea!important;border-radius:12px!important;padding:0 16px!important;font-size:17px!important;background:#f8fafb!important;transition:border-color .15s,background .15s;box-shadow:none!important}
.cdek-f-in:focus{outline:0;border-color:var(--cdek)!important;background:#fff!important}
.cdek-f-in::placeholder{color:#8a96a3}
.cdek-f-vol{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0 14px;font-size:14px;color:var(--muted)}
.cdek-f-vol>span{margin-right:4px}
.cdek-f-vol label{margin:0;cursor:pointer}.cdek-f-vol input{position:absolute;opacity:0;pointer-events:none}
.cdek-f-vol b{display:inline-block;padding:7px 13px;border-radius:999px;border:1.5px solid #dfe5ea;font-weight:600;color:var(--ink);font-size:14px;transition:.15s}
.cdek-f-vol input:checked+b{background:var(--cdek-l);border-color:var(--cdek);color:var(--cdek-d)}
.cdek-f-btn{width:100%;height:54px;font-size:17px!important;border-radius:12px!important;display:flex!important;align-items:center;justify-content:center}
.cdek-form .cdek-note{font-size:12.5px!important;color:#8a96a3!important;margin:10px 0 0!important;line-height:1.4;text-align:center}
.cdek-form .cdek-note a{color:#8a96a3!important}
@media(max-width:520px){.cdek-f-row{grid-template-columns:1fr}.cdek-form{padding:14px!important}}
.cdek-final .cdek-form,.cdek-form--compact{margin-top:12px}

/* ===== Лёгкая форма комментариев ===== */
.comment-respond{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px!important;margin-top:18px}
.comment-respond .comment-reply-title{font-size:20px!important;margin:0 0 4px!important}
.comment-respond .comment-notes{font-size:14px;color:var(--muted);margin:0 0 12px}
.comment-respond p{margin:0 0 10px!important}
.comment-respond label{font-size:13px;color:var(--muted);font-weight:500;margin-bottom:4px;display:block}
.comment-respond textarea{min-height:96px!important;height:96px;border:1.5px solid #dfe5ea!important;border-radius:12px!important;background:#f8fafb!important;padding:12px 14px!important;font-size:16px!important;resize:vertical}
.comment-respond input[type=text],.comment-respond input[type=email]{height:46px;border:1.5px solid #dfe5ea!important;border-radius:12px!important;background:#f8fafb!important;padding:0 14px!important;font-size:16px!important}
.comment-respond textarea:focus,.comment-respond input:focus{outline:0;border-color:var(--cdek)!important;background:#fff!important}
.comment-respond .comment-form-comment label{display:none}
.comment-respond .comment-form-author{display:inline-block;width:100%}
.comment-respond .form-submit{margin:4px 0 0!important}
.comment-respond .submit{height:48px;padding:0 26px!important;font-size:16px!important;border-radius:12px!important}
.comment-respond .required,.comment-respond .required-field-message{display:none}

/* архивы: карточки с нормальными отступами */
.loop-entry{border:1px solid var(--line)!important;border-radius:16px!important;overflow:hidden;background:#fff!important;box-shadow:0 4px 16px rgba(20,32,43,.04)}
.loop-entry .entry-content-wrap{padding:18px 20px 20px!important}
.loop-entry .entry-title{font-size:19px!important;line-height:1.3!important;margin:6px 0 8px!important}
.loop-entry .entry-summary p{font-size:15px;color:var(--muted);margin:0 0 12px}
.loop-entry .entry-taxonomies a{background:var(--cdek-l);color:var(--cdek-d)!important;padding:3px 8px;border-radius:6px;font-size:11.5px!important;font-weight:700;text-decoration:none!important}
.loop-entry .post-more-link{color:var(--cdek-d)!important;font-weight:700;border-bottom:2px solid var(--acc);text-decoration:none!important}
.loop-entry .entry-meta{font-size:13px;color:#8792a0}
.loop-entry .post-thumbnail{margin:0!important}
@media(max-width:640px){.loop-entry .entry-content-wrap{padding:16px 18px 18px!important}.content-wrap.grid-cols{gap:16px!important}}
/* плавающая кнопка не перекрывает контент */
@media(max-width:767px){body{padding-bottom:76px}}

.comment-respond .comment-form{display:flex;flex-direction:column;gap:0}
.comment-respond .comment-form-author input{width:100%}
.comment-respond .float-label{display:none!important}
.comments-title{font-size:20px!important}
.comment-list .comment-body{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px!important;margin-bottom:10px}
.comment-list .reply a{color:var(--cdek-d)!important;font-weight:700;font-size:13px}

/* сравнение цен */
.cdek-pc{margin:24px 0;border:2px solid var(--acc);border-radius:18px;padding:16px;background:linear-gradient(135deg,#fffdf3,#f1fbf4)}
.cdek-pc-h{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.cdek-pc-h strong{font-size:18px;line-height:1.3}
.cdek-pc-h .cdek-save-tag{align-self:flex-start}
.cdek-pc-row{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:8px;align-items:center;background:#fff;border-radius:12px;padding:10px 12px;margin-bottom:8px;border:1px solid var(--line)}
.cdek-pc-route{font-weight:700;line-height:1.25}.cdek-pc-route small{display:block;font-weight:500;color:var(--muted);font-size:12.5px}
.cdek-pc-p small,.cdek-pc-c small{display:block;font-size:11.5px;color:var(--muted)}
.cdek-pc-p s{color:#b91c1c;font-size:17px;font-weight:600}
.cdek-pc-c b{color:var(--cdek-d);font-size:20px}
.cdek-pc-s{background:var(--acc);color:var(--acc-ink);font-weight:800;border-radius:10px;padding:6px 10px;font-size:16px}
.cdek-pc-f{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:6px;font-size:12.5px;color:var(--muted)}
@media(max-width:600px){.cdek-pc-row{grid-template-columns:1fr 1fr auto}.cdek-pc-route{grid-column:1/-1}.cdek-pc-f{flex-direction:column;align-items:stretch}.cdek-pc-f .cdek-cta-btn{text-align:center}}
.cdek-pc-s{text-align:center;line-height:1.1}.cdek-pc-s small{display:block;font-size:10.5px;font-weight:700;margin-top:2px;white-space:nowrap}

.cdek-popular li{align-items:center}
.cdek-popular a{display:flex;gap:10px;align-items:center}
.cdek-pop-img{flex:none;width:56px;height:56px;border-radius:10px;overflow:hidden;background:var(--bg)}
.cdek-pop-img img{width:56px;height:56px;object-fit:cover;display:block}
.cdek-feed-img{box-shadow:0 2px 6px rgba(20,32,43,.1)}

.cdek-float{left:auto!important;right:12px!important;bottom:12px!important;width:auto!important;max-width:78vw;padding:12px 16px!important;font-size:14.5px!important;border-radius:999px!important}
.cdek-live-h{padding-left:0!important}
.cdek-popular li:before{min-width:30px;text-align:center}
.cdek-popular li:nth-child(n+4):before{background:var(--bg);border-radius:8px;padding:2px 0;font-size:18px}
.cdek-feed li{align-items:start}

/* компактная круглая кнопка справа */
.cdek-float{position:fixed!important;left:auto!important;right:14px!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;
  width:62px!important;height:62px!important;max-width:none!important;padding:0!important;border-radius:50%!important;
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:0;
  background:var(--acc)!important;color:var(--acc-ink)!important;text-decoration:none!important;
  box-shadow:0 6px 18px rgba(224,168,0,.45),0 0 0 4px rgba(255,198,41,.25)!important;font-weight:800;z-index:999;
  animation:cdekpulse2 2.6s ease-in-out infinite}
.cdek-float-ic{font-size:22px;line-height:1}
.cdek-float-t{font-size:10.5px;line-height:1.1;margin-top:1px;letter-spacing:-.01em}
.cdek-float:hover{transform:scale(1.06)}
@keyframes cdekpulse2{0%,100%{box-shadow:0 6px 18px rgba(224,168,0,.45),0 0 0 4px rgba(255,198,41,.25)}50%{box-shadow:0 6px 18px rgba(224,168,0,.45),0 0 0 10px rgba(255,198,41,0)}}
@media (prefers-reduced-motion:reduce){.cdek-float{animation:none}}
@media(max-width:767px){body{padding-bottom:0!important}}

/* кружок меньше + автоскрытие при прокрутке вниз */
.cdek-float{width:50px!important;height:50px!important;right:10px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;opacity:.96}
.cdek-float-ic{font-size:17px}.cdek-float-t{font-size:9px}
.cdek-float.is-scrolling{opacity:0!important;transform:scale(.6)!important;pointer-events:none}

/* ===== футер ===== */
.cdek-footer{background:#0f2a1f;color:#cfe0d6;margin-top:48px;font-size:15px}
.cdek-footer a{color:#e8f2ec;text-decoration:none}.cdek-footer a:hover{color:var(--acc)}
.cf-in{max-width:1200px;margin:0 auto;padding:44px 20px 28px;display:grid;grid-template-columns:1.5fr 1fr 1.2fr 1fr;gap:36px}
.cf-logo{font-size:26px;font-weight:800;color:#fff!important;letter-spacing:-.02em}.cf-logo span{color:var(--acc)}
.cf-about{margin:12px 0 18px;line-height:1.55;color:#a9c3b5;font-size:14.5px}
.cf-stats{display:flex;gap:10px;margin-bottom:18px}
.cf-stats div{flex:1;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px 8px;text-align:center}
.cf-stats b{display:block;color:var(--acc);font-size:18px;line-height:1.2}.cf-stats span{font-size:12px;color:#a9c3b5}
.cf-cta{display:inline-block;background:var(--acc);color:var(--acc-ink)!important;font-weight:800;padding:12px 20px;border-radius:999px}
.cf-cta:hover{filter:brightness(1.05);color:var(--acc-ink)!important}
.cf-col h4{color:#fff;font-size:13px;text-transform:uppercase;letter-spacing:.08em;margin:6px 0 14px;opacity:.85}
.cf-col ul{list-style:none;margin:0;padding:0}.cf-col li{margin:0 0 10px;line-height:1.35}
.cf-bottom{border-top:1px solid rgba(255,255,255,.1)}
.cf-in2{max-width:1200px;margin:0 auto;padding:16px 20px calc(18px + env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:#8fae9e;align-items:center}
.cf-disc{flex-basis:100%;font-size:12.5px;line-height:1.5}
@media(max-width:900px){.cf-in{grid-template-columns:1fr 1fr}.cf-brand{grid-column:1/-1}}
@media(max-width:560px){.cf-in{grid-template-columns:1fr 1fr;gap:26px 18px;padding:34px 18px 22px}.cf-col:last-child{grid-column:1/-1}.cf-col li{font-size:14px}.cdek-footer{padding-bottom:64px}}

@media(max-width:560px){.cf-in{grid-template-columns:1fr;gap:6px;padding:30px 18px 18px}
 .cf-col{border-top:1px solid rgba(255,255,255,.08);padding-top:14px}.cf-brand{padding-bottom:18px}
 .cf-col ul{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.cf-col li a{display:block;padding:7px 0}
 .cf-col h4{margin:4px 0 6px}.cdek-footer{padding-bottom:0}.cf-in2{padding-left:18px;padding-right:18px}}
html{background:#0f2a1f}body{background:#fff}

/* ===== квиз ===== */
.cdek-quiz{background:#0f2a1f;color:#fff;border-radius:22px;padding:22px 20px 18px;margin:28px 0;box-shadow:0 12px 30px rgba(15,42,31,.18);position:relative}
.cq-badge{display:inline-block;background:var(--acc);color:var(--acc-ink);font-weight:800;font-size:12.5px;padding:5px 12px;border-radius:999px;margin-bottom:10px}
.cdek-quiz h3{color:#fff!important;font-size:21px;line-height:1.25;margin:0 0 14px}
.cq-bar{height:6px;background:rgba(255,255,255,.12);border-radius:9px;overflow:hidden}.cq-bar i{display:block;height:100%;background:var(--acc);transition:width .3s}
.cq-stepn{font-size:12.5px;color:#a9c3b5;margin:6px 0 14px}
.cq-step{display:none}.cq-step.is-on{display:block;animation:cqin .25s ease}
@keyframes cqin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.cq-q{font-weight:700;font-size:17px;margin:0 0 12px;color:#fff}
.cq-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cq-opts-3{grid-template-columns:1fr 1fr 1fr}
.cq-opts button{background:#fff;color:#0f2a1f;border:2px solid transparent;border-radius:14px;padding:14px 10px;font:inherit;font-size:22px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;transition:transform .15s,border-color .15s}
.cq-opts button span{font-size:14px;font-weight:600;line-height:1.25}.cq-opts button b{font-size:18px}
.cq-opts button:hover{transform:translateY(-2px);border-color:var(--acc)}.cq-opts button.is-sel{border-color:var(--acc);background:#fff8d6}
.cq-res{background:rgba(255,255,255,.07);border:1px solid rgba(255,198,41,.35);border-radius:14px;padding:14px 16px;margin-bottom:16px}
.cq-res-t{margin:0 0 8px;font-size:16px}.cq-res-t b{color:var(--acc)}
.cq-plus{margin:0;padding-left:20px;color:#dfeee6;font-size:14.5px}.cq-plus li{margin:4px 0}
.cq-form .cdek-f-in{background:#fff}.cq-form .cdek-note{color:#a9c3b5}.cq-form .cdek-note a{color:#fff}
.cq-back{background:none;border:0;color:#a9c3b5;font:inherit;font-size:14px;margin-top:10px;cursor:pointer;padding:4px 0}
@media(max-width:480px){.cdek-quiz{padding:18px 14px 14px;border-radius:18px}.cdek-quiz h3{font-size:19px}.cq-opts button{padding:12px 6px}}
/* ===== хабы ===== */
.cdek-hub{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;margin:18px 0 28px}
.cdek-hub-i{display:block;background:#fff;border:1px solid #e3ebe6;border-radius:14px;padding:13px 15px;text-decoration:none!important;color:#0f2a1f!important;transition:transform .15s,box-shadow .15s}
.cdek-hub-i:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(15,42,31,.1);border-color:var(--acc)}
.cdek-hub-i b{display:block;font-size:15.5px}.cdek-hub-i span{display:block;font-size:13px;color:#5b7268;margin-top:3px}
.cdek-lp-hero{background:linear-gradient(135deg,#0f2a1f,#1d5a3f);color:#fff;border-radius:22px;padding:26px 22px;margin:0 0 24px}
.cdek-lp-hero h2{color:#fff!important;margin:0 0 10px;font-size:24px}.cdek-lp-hero p{color:#dfeee6;margin:0 0 14px}
.cdek-lp-hero .cdek-cta-btn{display:inline-block}
.cdek-lp-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 0}
.cdek-lp-facts div{background:rgba(255,255,255,.08);border-radius:12px;padding:10px;text-align:center;font-size:12.5px;color:#cfe0d6}.cdek-lp-facts b{display:block;color:var(--acc);font-size:17px}

.cdek-quiz .cq-q{color:#fff!important;margin:4px 0 12px!important}
.cdek-quiz .cq-stepn{color:#cfe0d6!important}
.cdek-quiz .cq-res-t{color:#cfe0d6!important;font-size:13px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 4px!important}
.cdek-quiz .cq-tariff{color:var(--acc)!important;font-weight:800;font-size:18px;line-height:1.3;margin:0 0 10px!important}
.cdek-quiz .cq-plus,.cdek-quiz .cq-plus li{color:#e8f2ec!important}.cdek-quiz .cq-plus li::marker{color:var(--acc)}
.cdek-quiz .cdek-f-btn{color:var(--acc-ink)!important;margin-top:4px}.cdek-quiz .cdek-note{margin-top:12px!important}
.cq-ic{display:block;width:30px;height:30px}.cq-ic svg{width:100%;height:100%;fill:none;stroke:#1d5a3f;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cq-opts button{font-size:15px}.cq-opts button span{overflow-wrap:anywhere;hyphens:auto}
@media(max-width:420px){.cq-opts:not(.cq-opts-3){grid-template-columns:1fr}.cq-opts:not(.cq-opts-3) button{flex-direction:row;justify-content:flex-start;text-align:left;gap:12px;padding:12px 14px}}
.cdek-lp-hero .cdek-cta-btn{white-space:normal;text-align:center}
.cdek-lp-facts div{font-size:11.5px;hyphens:none;word-break:normal;overflow-wrap:normal}
.cdek-lp-hero h2.cdek-lp-sub{font-size:21px}
.cdek-lp-kicker{font-size:12.5px!important;text-transform:uppercase;letter-spacing:.08em;color:var(--acc)!important;font-weight:700;margin:0 0 6px!important}

/* ===== рекомендации ===== */
.cq-title{color:#fff;font-weight:800;font-size:21px;line-height:1.25;margin:0 0 14px}
.cdek-ri{margin:26px 0;clear:both}
.cdek-ri a{display:flex;align-items:center;gap:14px;padding:12px 14px 12px 12px;background:#f6faf7;border:1px solid #e3ebe6;border-left:4px solid var(--acc);border-radius:14px;text-decoration:none!important;color:var(--ink)!important;transition:box-shadow .15s,transform .15s}
.cdek-ri a:hover{box-shadow:0 8px 20px rgba(15,42,31,.1);transform:translateY(-1px)}
.cdek-ri-img{flex:0 0 76px;height:76px;border-radius:10px;overflow:hidden;background:#e3ebe6}
.cdek-ri-img img{width:100%;height:100%;object-fit:cover;display:block;margin:0!important}
.cdek-ri-b{flex:1;min-width:0}.cdek-ri-k{display:block;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#1d7a4f;margin-bottom:3px}
.cdek-ri-b strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:15.5px;line-height:1.35}
.cdek-ri-go{flex:0 0 auto;font-size:20px;font-weight:800;color:#1d7a4f}
.cdek-recs,.cdek-strip,.cdek-pop2{margin:34px 0 8px}
.cdek-recs-h{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid var(--ink)}
.cdek-recs-h span{font-weight:800;font-size:20px;color:var(--ink);display:flex;align-items:center;gap:8px}
.cdek-recs-h a{font-size:14px;font-weight:700;color:#1d7a4f!important;text-decoration:none!important;white-space:nowrap}
.cdek-dot{width:8px;height:8px;border-radius:50%;background:#e5484d;display:inline-block;box-shadow:0 0 0 0 rgba(229,72,77,.6);animation:cdekdot 1.8s infinite}
@keyframes cdekdot{70%{box-shadow:0 0 0 8px rgba(229,72,77,0)}100%{box-shadow:0 0 0 0 rgba(229,72,77,0)}}
.cdek-recs-g{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cdek-rc{display:flex;flex-direction:column;text-decoration:none!important;color:var(--ink)!important;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #e3ebe6;transition:transform .15s,box-shadow .15s}
.cdek-rc:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,42,31,.12)}
.cdek-rc-img{display:block;aspect-ratio:16/9;overflow:hidden;background:#e3ebe6}.cdek-rc-img img{width:100%;height:100%;object-fit:cover;display:block;margin:0!important}
.cdek-rc-b{padding:10px 12px 13px;display:block}
.cdek-rc-k{display:block;font-size:11.5px;color:#5b7268;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cdek-rc strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.35}
.cdek-strip-s{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.cdek-rc-s{flex:0 0 70%;max-width:260px;scroll-snap-align:start}
.cdek-pop2 ol{margin:0;padding:0;list-style:none;counter-reset:p}
.cdek-pop2 li{counter-increment:p;display:flex;gap:12px;align-items:flex-start;padding:11px 0;border-top:1px solid #e3ebe6}.cdek-pop2 li:first-child{border-top:0}
.cdek-pop2 li:before{content:counter(p);flex:0 0 28px;height:28px;border-radius:50%;background:var(--acc);color:var(--acc-ink);font-weight:800;display:flex;align-items:center;justify-content:center;font-size:14px}
.cdek-pop2 a{color:var(--ink)!important;text-decoration:none!important;font-weight:600;line-height:1.4}
.cdek-next{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:998;display:flex;align-items:center;gap:10px;background:#0f2a1f;color:#fff!important;text-decoration:none!important;border-radius:16px;padding:11px 40px 11px 14px;box-shadow:0 10px 30px rgba(0,0,0,.25);transform:translateY(140%);opacity:0;transition:transform .3s,opacity .3s;max-width:560px;margin:0 auto}
.cdek-next.is-on{transform:none;opacity:1}
.cdek-next-k{flex:0 0 auto;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--acc);writing-mode:horizontal-tb}
.cdek-next strong{flex:1;min-width:0;font-size:14px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cdek-next-go{font-size:18px;font-weight:800;color:var(--acc)}
.cdek-next-x{position:absolute;top:4px;right:6px;background:none;border:0;color:#a9c3b5;font-size:20px;line-height:1;padding:4px;cursor:pointer}
@media(max-width:560px){.cdek-recs-g{grid-template-columns:1fr 1fr;gap:10px}.cdek-rc strong{font-size:14px}.cdek-rc-b{padding:8px 10px 11px}.cdek-recs-h span{font-size:18px}.cdek-next-k{display:none}}
@media(min-width:900px){.cdek-recs-g{grid-template-columns:repeat(4,1fr)}.cdek-rc-s{flex-basis:240px}}
.cdek-recs,.cdek-strip,.cdek-pop2{content-visibility:visible}

.cdek-float.is-off{display:none!important}
.cdek-next{padding:9px 36px 9px 12px;border-radius:14px}.cdek-next strong{font-size:13.5px;-webkit-line-clamp:1}
.cdek-strip{position:relative}.cdek-strip:after{content:'';position:absolute;right:0;top:48px;bottom:8px;width:28px;background:linear-gradient(90deg,rgba(255,255,255,0),#fff);pointer-events:none}
.cdek-ri-b strong{-webkit-line-clamp:3}

/* ===== лёгкие формы ===== */
.cdek-lf-row{display:flex;gap:8px;flex-wrap:wrap}
.cdek-lf-row .cdek-lf-tel{flex:1 1 200px;min-width:0}
.cdek-lf-row .cdek-f-btn{flex:0 0 auto;white-space:nowrap}
.cdek-lf-tel{font-size:18px!important;letter-spacing:.02em;height:54px;padding:0 16px!important;border-radius:12px!important;border:2px solid #d5e2da!important;background:#fff!important;color:#0f2a1f!important;width:100%}
.cdek-lf-tel:focus{border-color:var(--acc)!important;outline:0;box-shadow:0 0 0 4px rgba(255,198,41,.25)}
.cdek-lf-tel.is-bad{border-color:#e5484d!important}
.cdek-lf .cdek-f-btn{height:54px;font-size:17px!important;padding:0 22px!important;border-radius:12px!important;border:0;cursor:pointer}
.cdek-lf .cdek-f-btn:disabled{opacity:.7}
.cdek-lf-err{color:#e5484d;font-size:14px;font-weight:600;margin:8px 0 0!important}
.cdek-quiz .cdek-lf-err{color:#ffb4b4}
@media(max-width:480px){.cdek-lf-row{flex-direction:column}.cdek-lf-row .cdek-f-btn{width:100%}}
.cdek-ok{text-align:center;padding:18px 8px}
.cdek-ok-i{width:56px;height:56px;border-radius:50%;background:var(--acc);color:var(--acc-ink);font-size:30px;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
.cdek-ok-t{font-size:21px;font-weight:800;margin-bottom:6px}
.cdek-ok p{margin:0;font-size:15px;line-height:1.5}
.cdek-quiz .cdek-ok,.cdek-quiz .cdek-ok-t{color:#fff}.cdek-quiz .cdek-ok p{color:#dfeee6}
/* окно */
html.cdek-lock{overflow:hidden}
.cdek-lm{position:fixed;inset:0;z-index:10000;display:flex;align-items:flex-end;justify-content:center}
.cdek-lm[hidden]{display:none}
.cdek-lm-bg{position:absolute;inset:0;background:rgba(10,25,18,.55);opacity:0;transition:opacity .2s}
.cdek-lm-box{position:relative;width:100%;max-width:440px;background:#0f2a1f;color:#fff;border-radius:22px 22px 0 0;padding:26px 20px calc(20px + env(safe-area-inset-bottom));transform:translateY(100%);transition:transform .25s ease;box-shadow:0 -10px 40px rgba(0,0,0,.3)}
.cdek-lm.is-open .cdek-lm-bg{opacity:1}.cdek-lm.is-open .cdek-lm-box{transform:none}
@media(min-width:600px){.cdek-lm{align-items:center}.cdek-lm-box{border-radius:22px;transform:translateY(20px) scale(.97);opacity:0;transition:transform .2s,opacity .2s}.cdek-lm.is-open .cdek-lm-box{transform:none;opacity:1}}
.cdek-lm-x{position:absolute;top:10px;right:12px;background:rgba(255,255,255,.1);border:0;color:#fff;width:36px;height:36px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer}
.cdek-lm-t{font-size:22px;font-weight:800;line-height:1.25;margin:10px 0 6px;color:#fff}
.cdek-lm-s{color:#cfe0d6;font-size:15px;margin:0 0 14px!important;line-height:1.45}
.cdek-lm-f{display:flex;flex-direction:column;gap:10px}
.cdek-lm-f .cdek-f-btn{width:100%}
.cdek-lm .cdek-note{color:#a9c3b5!important;font-size:12.5px;margin:2px 0 0!important}.cdek-lm .cdek-note a{color:#fff!important}
.cdek-lm .cdek-ok,.cdek-lm .cdek-ok-t{color:#fff}.cdek-lm .cdek-ok p{color:#dfeee6}

.cdek-zf{background:#0f2a1f;color:#fff;border-radius:22px;padding:22px 20px 16px;margin:0 0 26px;box-shadow:0 12px 30px rgba(15,42,31,.18)}
.cdek-zf-t{font-size:22px;font-weight:800;line-height:1.25;margin:10px 0 6px;color:#fff}
.cdek-zf-s{color:#cfe0d6;margin:0 0 14px!important;font-size:15px}
.cdek-zf .cdek-note{color:#a9c3b5!important}.cdek-zf .cdek-note a{color:#fff!important}
.cdek-zf .cdek-ok,.cdek-zf .cdek-ok-t{color:#fff}.cdek-zf .cdek-ok p{color:#dfeee6}
.cdek-form .cdek-f-vol,.cdek-form .cdek-f-row{display:none}

/* круг 3: окно компактнее и сразу целиком видно; страница заявки — форма выше */
.cdek-lm-box{padding:20px 18px calc(16px + env(safe-area-inset-bottom))}
.cdek-lm-t{font-size:20px;margin:8px 0 4px}.cdek-lm-s{font-size:14px;margin-bottom:12px!important}
body.page-id-6 .cdek-ticker{display:none}
body.page-id-6 .entry-header{margin-bottom:8px}
body.page-id-6 h1.entry-title{font-size:24px!important;line-height:1.2;margin-bottom:6px}
.cdek-zf{padding:18px 16px 12px}.cdek-zf-t{font-size:19px;margin:8px 0 4px}.cdek-zf-s{font-size:14px;margin-bottom:10px!important}
.cdek-zf .cdek-note,.cdek-lm .cdek-note,.cdek-quiz .cdek-note{color:#cfe0d6!important}

/* ===== калькулятор ===== */
.cdek-calc{background:#0f2a1f;color:#fff;border-radius:22px;padding:22px 18px 18px;margin:24px 0;box-shadow:0 12px 30px rgba(15,42,31,.18)}
.cc-title{font-size:21px;font-weight:800;line-height:1.25;margin:10px 0 14px;color:#fff}
.cc-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cc-f{position:relative;display:block}.cc-f>span{display:block;font-size:12.5px;color:#a9c3b5;margin-bottom:4px;font-weight:600}
.cc-city{width:100%;height:50px;border-radius:12px;border:2px solid transparent;padding:0 14px;font-size:16px;background:#fff;color:#0f2a1f}
.cc-city:focus{outline:0;border-color:var(--acc)}.cc-city.is-bad{border-color:#e5484d}
.cc-sug{position:absolute;left:0;right:0;top:100%;z-index:20;background:#fff;border-radius:12px;margin:4px 0 0;padding:4px;list-style:none;box-shadow:0 12px 30px rgba(0,0,0,.25);max-height:280px;overflow:auto}
.cc-sug li{padding:9px 10px;border-radius:8px;cursor:pointer;color:#0f2a1f;line-height:1.25}.cc-sug li:hover{background:#fff8d6}
.cc-sug b{display:block;font-size:15px}.cc-sug span{font-size:12px;color:#5b7268}
.cc-l{font-size:12.5px;color:#a9c3b5;font-weight:600;margin:14px 0 6px}
.cc-chips{display:flex;flex-wrap:wrap;gap:6px}
.cc-chips button{background:rgba(255,255,255,.08);border:1.5px solid rgba(255,255,255,.18);color:#fff;border-radius:999px;padding:8px 13px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;line-height:1.15}
.cc-chips button small{display:block;font-size:11px;font-weight:400;color:#a9c3b5}
.cc-chips button.is-on{background:var(--acc);border-color:var(--acc);color:var(--acc-ink)}.cc-chips button.is-on small{color:#5a4600}
.cc-go{width:100%;margin-top:16px;height:54px;font-size:17px!important;border:0;border-radius:12px!important;cursor:pointer;color:var(--acc-ink)!important}
.cc-res{margin-top:16px}
.cc-route{font-size:13px;color:#a9c3b5;margin-bottom:8px}
.cc-list{list-style:none;margin:0;padding:0;background:#fff;border-radius:14px;overflow:hidden}
.cc-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-top:1px solid #e3ebe6;color:#0f2a1f}
.cc-list li:first-child{border-top:0}.cc-list li div b{display:block;font-size:15px}.cc-list li div span{font-size:12.5px;color:#5b7268}
.cc-list li strong{font-size:18px;white-space:nowrap}
.cc-list li.is-best{background:#fff8d6}.cc-list li.is-best strong{color:#1d7a4f}
.cc-list li.is-best div b:after{content:'выгоднее всего';margin-left:6px;font-size:10.5px;font-weight:800;text-transform:uppercase;background:#1d7a4f;color:#fff;border-radius:6px;padding:2px 6px;vertical-align:2px}
.cc-retail{font-size:13px;color:#cfe0d6;margin:10px 0 0!important;line-height:1.45}.cc-retail b{color:var(--acc)}
.cc-lead{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12)}
.cc-lead-t{font-size:18px;font-weight:800;color:#fff}.cc-lead>p{color:#cfe0d6;font-size:14px;margin:4px 0 10px!important}
.cdek-calc .cdek-note{color:#cfe0d6!important}.cdek-calc .cdek-note a{color:#fff!important}
.cdek-calc .cdek-ok,.cdek-calc .cdek-ok-t{color:#fff}.cdek-calc .cdek-ok p{color:#dfeee6}
.cc-err{color:#ffb4b4;font-weight:600;margin:0!important}
@media(max-width:480px){.cc-row{grid-template-columns:1fr}.cdek-calc{padding:18px 14px 14px}}

/* счётчики просмотров */
.cdek-views,.cdek-vb{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.cdek-views svg,.cdek-vb svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;flex:0 0 auto}
.cdek-vb{margin-left:8px;font-size:.92em;opacity:.85}
.cdek-pop2 li .cdek-vb,.cdek-popular .cdek-vb{margin-left:6px;color:#5b7268;font-size:12px}
.cdek-pop2 li{align-items:baseline}
.cdek-feed time .cdek-vb,.cdek-cardp time .cdek-vb,.cdek-rc-k .cdek-vb{color:inherit}
.entry-meta .cdek-vb{margin-left:10px}

/* ===== шапка v2: одна строка, ровная ось, единый стиль ===== */
#masthead .site-main-header-wrap .site-header-row-container-inner{background:#fff}
#masthead .site-main-header-inner-wrap{min-height:68px!important;display:flex!important;align-items:center!important;gap:24px;flex-wrap:nowrap!important}
#masthead .site-header-section-right{display:flex!important;align-items:center!important;gap:22px;flex-wrap:nowrap!important;flex:1;justify-content:flex-end}
#masthead .site-container{max-width:1240px!important}
.site-branding .brand{display:flex;align-items:center;text-decoration:none}
.site-branding .site-title{font-size:21px!important;line-height:1!important;margin:0!important;letter-spacing:-.03em;display:flex;align-items:center}
.site-branding .site-title::before{width:34px!important;height:34px!important;border-radius:10px!important;margin-right:10px!important;vertical-align:0!important;
  background:var(--cdek) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 12 3l9 4.5v9L12 21l-9-4.5z'/%3E%3Cpath d='M3 7.5 12 12l9-4.5M12 12v9'/%3E%3C/svg%3E") center/20px no-repeat!important;box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}
.header-navigation .menu{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:2px}
.header-navigation .menu>li>a{font-size:15px!important;font-weight:600!important;padding:24px 11px!important;line-height:20px!important;white-space:nowrap;color:var(--ink)!important;background:none!important;border-radius:0!important;margin:0!important;box-shadow:none}
.header-navigation .menu>li:last-child>a{background:none!important;color:var(--ink)!important;padding:24px 11px!important;margin:0!important}
.header-navigation .menu>li>a:hover,.header-navigation .menu>.current-menu-item>a{color:var(--cdek-d)!important;box-shadow:inset 0 -3px 0 var(--acc)!important}
#masthead .header-button{height:42px!important;min-height:0!important;padding:0 18px!important;display:inline-flex!important;align-items:center;white-space:nowrap;font-size:15px!important;font-weight:800!important;border-radius:10px!important;line-height:1!important;box-shadow:0 3px 0 var(--acc-d)!important;text-align:center}
#masthead .header-button:hover{transform:translateY(-1px)}
@media(max-width:1180px){.header-navigation .menu>li>a,.header-navigation .menu>li:last-child>a{padding:24px 8px!important;font-size:14.5px!important}#masthead .site-header-section-right{gap:14px}}
/* мобильная шапка */
#mobile-header .site-branding .site-title{font-size:19px!important}
#mobile-header .site-branding .site-title::before{width:30px!important;height:30px!important;background-size:18px!important}
#mobile-header .site-main-header-wrap{min-height:58px}

/* контраст текста на тёмных блоках (fix: .entry-content p перебивал) */
.entry-content .cdek-calc .cc-retail,.cdek-calc .cc-retail{color:#e6f1eb!important;font-size:13.5px}
.entry-content .cdek-calc > p,.entry-content .cdek-calc .cc-res > p{color:#e6f1eb}
/* контраст v2: жёлтые кнопки — тёмный текст; подписи в белых формах — тёмно-серые; подзаголовки на тёмном — светлые */
html body a.cdek-cta-btn,html body button.cdek-cta-btn,html body .cdek-cta-btn{color:var(--acc-ink,#0f2a1f)!important}
html body .cdek-lf .cdek-note,html body form.cdek-form .cdek-note{color:#5b6b63!important}
html body .cdek-lf .cdek-note a,html body form.cdek-form .cdek-note a{color:#0f2a1f!important}
html body .entry-content .cdek-zf-s,html body .entry-content .cdek-zf > p,html body .entry-content .cdek-lp-hero p,html body .entry-content .cdek-lp-hero li{color:#e6f1eb!important}
html body .entry-content .cdek-lp-hero h1,html body .entry-content .cdek-lp-hero h2{color:#fff!important}
/* контраст v3: мелкие подписи на тёмном */
html body .entry-content .cdek-lp-facts div{color:#e6f1eb!important;font-size:13px}
html body .cc-chips button small{color:#cfe0d6!important;font-size:11.5px}
html body .cc-chips button.is-on small{color:#3d3000!important}
html body .cdek-pb-t span{color:#cfe0d6!important}
html body .cf-stats span{color:#cfe0d6!important}
html body .cc-chips button small{color:#eaf4ee!important;font-size:12px;opacity:1}
html body .cdek-gc-sub,html body .cdek-city small{color:#4f5f57!important}
