/*
Theme Name: Oforma Generator
Theme URI: https://oforma.ru
Version: 1.0
Author: Oforma
Text Domain: oforma
*/
/*
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, sans-serif; }
*/
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,sans-serif;max-width:100%;overflow-x:hidden}
.logo { max-width: 200px !important;}

.site-main h1 {font-size: 33px !important; font-weight: 800 !important; line-height: 37px; margin: 0 0 20px 0}

.entry-content p{ padding: 10px 0 0}
.entry-content h3{ padding: 20px 0 10px 0; font-size: 21px; font-weight: 700 }

.of-page-main{margin:10px auto;padding:0}
.info-pages ul{ margin: 10px 0 10px 20px}
.info-pages ul li{ list-style: disc}
.info-pages a:hover { text-decoration: none}
.tab-privacy { width: 100%; text-align: left; margin: 20px 0; }
.tab-privacy td{border:1px solid #ddd; padding: 7px}
.tab-privacy th{ background-color:#ddd; padding: 7px;border:1px solid #ddd;}

div.overflow {overflow-x:auto}


:root {
    --color-primary: #1c65c8;
    --color-primary-dark: #02429a;
    --color-primary-soft: #ffe7d2;
    --color-hero-bg: #f3f4ff;
    --color-accent-green: #32CD32;
     --color-accent-red: #FF4500;
    --color-text-main: #111827;
    --color-text-muted: #4b5563;
    --color-text-soft: #6b7280;
    --color-border: #e5e7eb;
    --color-surface: #ffffff
}

.lk-menu a.a-lk{ background-color: var(--color-primary); color: #fff; padding: 7px 20px; border-radius: 7px}



.oforma-doc-wrap{max-width:1280px; margin:40px auto 80px;padding:0 20px}
.oforma-doc-inner{position:relative;max-width:1280px; }


/* HERO */
.oforma-doc-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:40px;align-items:center;margin-bottom:64px;border-radius:24px;}
.oforma-doc-hero-main{min-width:0}
.oforma-doc-kicker{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.18em;color:var(--color-primary-dark);margin-bottom:16px;display:inline-flex;align-items:center;gap:8px;padding:4px 14px;border-radius:999px;background:#eee;}
.oforma-doc-kicker:before{content:"";width:8px;height:8px;border-radius:999px;background:var(--color-accent-green)}
.oforma-doc-title{font-size:38px;line-height:1.14;font-weight:800;margin:0 0 18px;color:var(--color-text-main);letter-spacing:-.03em}
.oforma-doc-sub{font-size:16px;line-height:1.8;color:var(--color-text-muted);margin:0 0 26px;max-width:640px}
.oforma-doc-hero-cta{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-bottom:10px}
.oforma-doc-hero-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 30px;border-radius:999px;font-size:15px;font-weight:600;text-decoration:none;background:var(--color-primary);color:var(--color-surface);border:1px solid var(--color-primary-dark);transition:background .16s ease,transform .16s ease}
.oforma-doc-hero-btn:hover{background:var(--color-primary-dark);transform:translateY(-1px)}
.oforma-doc-hero-btn:active{transform:translateY(0)}
.oforma-doc-hero-note{font-size:13px;color:var(--color-text-soft);max-width:260px}
.oforma-doc-hero-badges{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:#374151;margin-top:14px}
.oforma-doc-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,0.9);border:1px solid rgba(148,163,184,0.6)}
.oforma-doc-dot{width:7px;height:7px;border-radius:999px;background:var(--color-accent-green)}

.oforma-doc-hero-preview{min-width:0}
.oforma-doc-hero-card{border-radius:18px;padding:16px 16px 14px;background:var(--color-surface);border:1px solid rgba(209,213,219,0.9)}
.oforma-doc-hero-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.oforma-doc-hero-card-title{font-size:12px;font-weight:600;color:var(--color-text-soft)}
.oforma-doc-hero-chip{font-size:11px;padding:4px 10px;border-radius:999px;background:rgba(34,195,181,0.08);color:#0f766e;border:1px solid rgba(34,195,181,0.35);text-transform:uppercase;font-weight:600;letter-spacing:.08em}
.oforma-doc-hero-window{border-radius:14px;background:linear-gradient(135deg,#f9fafb,#eef2ff);border:1px solid rgba(209,213,219,0.9);padding:10px 12px 12px;margin-bottom:10px}
.oforma-doc-hero-window-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.oforma-doc-hero-dots{display:flex;align-items:center;gap:4px}
.oforma-doc-hero-dot{width:8px;height:8px;border-radius:999px;background:#e5e7eb}
.oforma-doc-hero-window-label{font-size:11px;color:var(--color-text-soft)}
.oforma-doc-hero-frame{border-radius:10px;border:1px dashed rgba(148,163,184,0.9);background:var(--color-surface);min-height:180px;display:flex;align-items:center;justify-content:center;padding:16px;font-size:12px;color:var(--color-text-soft);text-align:left;line-height:1.8}
.oforma-doc-hero-foot{margin-top:8px;font-size:12px;color:var(--color-text-muted);line-height:1.7}
.oforma-doc-hero-foot span{color:var(--color-primary-dark);font-weight:600}

@media(max-width:768px){
  .oforma-doc-hero__bg{
    position:static;
    height:auto;
    opacity:.6;      /* необязательно, но красиво как фон */
    margin-bottom:20px;
  }
  .oforma-doc-hero__bg img{
    width:100%;
    height:auto;
    object-fit:contain;
  }
}


.of-hero-icons{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:50px}
.of-hero-icon-card{display:flex;align-items:flex-start;gap:12px;padding:4px 1px;border-radius:14px;}
.of-hero-icon{font-size:26px;line-height:26px;color:var(--color-primary);min-width:32px;min-height:32px; padding:2px; background-color: #ecf5ff}
.of-hero-icon-card p{margin:0;font-size:13px;line-height:1.55;font-weight:500}
@media(max-width:640px){.of-hero-icons{grid-template-columns:1fr}}


/* SECTIONS */
.oforma-doc-section{margin-bottom:54px}
.oforma-doc-section-head{margin-bottom:22px;display:flex;flex-direction:column;gap:8px}
.oforma-doc-section-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.2em;color:#9ca3af}
.oforma-doc-section-title{font-size:24px;font-weight:700;margin:0;color:var(--color-text-main);letter-spacing:-.02em}
.oforma-doc-section-sub{font-size:14px;color:var(--color-text-soft);margin:0;max-width:720px;line-height:1.8}

/* FEATURES */
.oforma-doc-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-bottom:12px}
.oforma-doc-feature-card{border-radius:18px;padding:16px 18px;background:var(--color-surface);border:1px solid var(--color-border)}
.oforma-doc-feature-kicker{font-size:11px;font-weight:600;color:var(--color-text-soft);margin:0 0 6px;text-transform:uppercase;letter-spacing:.08em}
.oforma-doc-feature-title{font-size:15px;font-weight:600;margin:0 0 8px;color:var(--color-text-main)}
.oforma-doc-feature-text{font-size:13px;color:var(--color-text-muted);margin:0;line-height:1.8}

/* STEPS */
.oforma-doc-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-bottom:10px}
.oforma-doc-step-card{border-radius:18px;padding:16px 18px;background:var(--color-surface);border:1px solid var(--color-border)}
.oforma-doc-step-pill{font-size:12px;font-weight:600;padding:4px 11px;border-radius:999px;background:rgba(37,99,235,0.06);color:#1d4ed8;border:1px solid rgba(37,99,235,0.3);display:inline-flex;align-items:center;gap:7px;margin-bottom:9px}
.oforma-doc-step-pill span{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#1d4ed8;font-size:11px;color:var(--color-surface);font-weight:700}
.oforma-doc-step-title{font-size:15px;font-weight:600;margin:0 0 6px;color:var(--color-text-main)}
.oforma-doc-step-text{font-size:13px;color:var(--color-text-muted);margin:0;line-height:1.8}

/* FORM BLOCK */
.oforma-doc-form-block{border-radius:20px;padding:20px 20px 22px;background:linear-gradient(90deg,rgba(243,244,255,0.9),rgba(255,247,237,0.9));border:1px solid rgba(209,213,219,0.9)}
.oforma-doc-form-note{font-size:13px;color:var(--color-text-muted);margin:0 0 14px;line-height:1.8}
.oforma-doc-form-note strong{color:var(--color-text-main)}
.oforma-doc-form-inner{border-radius:16px;border:1px dashed rgba(148,163,184,0.9);background:var(--color-surface);padding:16px 16px 18px}

/* AUDIENCE */
.oforma-doc-audience{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.oforma-doc-aud-card{border-radius:18px;padding:16px 18px;background:var(--color-surface);border:1px solid var(--color-border)}
.oforma-doc-aud-title{font-size:15px;font-weight:600;margin:0 0 6px;color:var(--color-text-main)}
.oforma-doc-aud-text{font-size:13px;color:var(--color-text-muted);margin:0;line-height:1.8}

/* CTA / PRICING / FAQ */
.oforma-doc-cta-bar{border-radius:20px;padding:18px 20px;background:var(--color-primary-soft);border:1px solid rgba(251,146,60,0.45);display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:10px}
.oforma-doc-cta-main{flex:1 1 260px}
.oforma-doc-cta-title{font-size:18px;font-weight:700;margin:0 0 6px;color:var(--color-text-main)}
.oforma-doc-cta-text{font-size:13px;color:var(--color-text-muted);margin:0;max-width:480px;line-height:1.8}
.oforma-doc-cta-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 26px;border-radius:999px;font-size:15px;font-weight:600;text-decoration:none;background:var(--color-primary);color:var(--color-surface);border:1px solid var(--color-primary-dark);transition:background .16s ease,transform .16s ease}
.oforma-doc-cta-btn:hover{background:var(--color-primary-dark);transform:translateY(-1px)}
.oforma-doc-cta-btn:active{transform:translateY(0)}

.oforma-doc-faq{display:flex;flex-direction:column;gap:10px}
.oforma-doc-faq-item{border-radius:16px;padding:11px 13px;background:var(--color-surface);border:1px solid var(--color-border)}
.oforma-doc-faq-q{font-size:13px;font-weight:600;margin:0 0 6px;color:var(--color-text-main)}
.oforma-doc-faq-a{font-size:13px;color:var(--color-text-muted);margin:0;line-height:1.8}

/* ADAPTIVE */
@media(max-width:1040px){.oforma-doc-hero{grid-template-columns:minmax(0,1fr);gap:28px;padding:26px 0 28px 0}.oforma-doc-title{font-size:32px}}
@media(max-width:768px){.oforma-doc-wrap{margin:32px auto 56px;padding:0 16px} .oforma-doc-hero{margin-bottom:44px;border-radius:22px} .oforma-doc-title{font-size:30px} .oforma-doc-sub{font-size:15px} .oforma-doc-section{margin-bottom:46px}}
@media(max-width:640px){.oforma-doc-hero-cta{flex-direction:column;align-items:flex-start} .oforma-doc-hero-btn{width:100%;justify-content:center} .oforma-doc-hero-note{max-width:none} .oforma-doc-cta-bar{flex-direction:column;align-items:flex-start} .oforma-doc-cta-btn{width:100%;justify-content:center}}




.oforma-form{max-width:960px;margin:0 auto;padding:24px 24px 28px;background:#fff;border-radius:16px;box-shadow:0 10px 25px rgba(15,23,42,.05)}
.oforma-form__title{margin:0 0 18px;font-size:20px;font-weight:600;color:#111827}
.oforma-form__subtitle{margin:0 0 20px;font-size:14px;color:#6b7280}
.oforma-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}
@media(max-width:768px){.oforma-form__grid{grid-template-columns:1fr}}
.oforma-form__field{display:flex;flex-direction:column;gap:4px}
.oforma-form__label{font-size:13px;color:#4b5563}
.oforma-form__input{width:100%;padding:8px 10px;border-radius:10px;border:1px solid #d1d5db;font-size:14px;background:#f9fafb}
.oforma-form__input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 1px rgba(37,99,235,.3);background:#fff}


.oforma-form__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.oforma-form__total{font-size:14px;font-weight:500;color:#111827}
.oforma-form__submit{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:9999px;border:none;background:#2563eb;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s ease,transform .1s ease,box-shadow .1s ease;box-shadow:0 8px 18px rgba(37,99,235,.25)}
.oforma-form__submit:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 10px 22px rgba(37,99,235,.28)}
.oforma-form__submit:active{transform:translateY(0);box-shadow:0 6px 14px rgba(37,99,235,.22)}

.oforma-landing{padding:32px 16px 40px;background:#f3f4f6}
.oforma-landing__inner{max-width:1100px;margin:0 auto}
.oforma-landing__hero{max-width:720px;margin:0 auto 24px}
.oforma-landing__title{margin:0 0 8px;font-size:28px;font-weight:700;color:#111827}
.oforma-landing__subtitle{margin:0;font-size:15px;color:#6b7280}

.oforma-checkout-page .site-main{background:#f9fafb;padding:24px 16px 40px}
.oforma-checkout-page .woocommerce{max-width:920px;margin:0 auto;border-radius:18px;border:1px solid #e5e7eb;background:#ffffff;padding:24px 20px 28px;box-shadow:0 18px 40px rgba(15,23,42,0.10)}
.oforma-checkout-page .woocommerce h1,.oforma-checkout-page .woocommerce .page-title{font-size:24px;line-height:1.2;font-weight:700;margin:0 0 12px}
.oforma-checkout-page .woocommerce .woocommerce-notices-wrapper{margin-bottom:16px}
.oforma-checkout-page .woocommerce .col2-set{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr);gap:24px;margin-top:16px}
.oforma-checkout-page .woocommerce .col2-set .col-1,.oforma-checkout-page .woocommerce .col2-set .col-2{float:none;width:auto;padding:0}
.oforma-checkout-page .woocommerce .woocommerce-billing-fields>h3{display:none}
.oforma-checkout-page .woocommerce .woocommerce-billing-fields__field-wrapper{margin-top:4px}
.oforma-checkout-page .woocommerce .woocommerce-billing-fields label{font-size:13px;font-weight:500;color:#374151;margin-bottom:4px;display:block}
.oforma-checkout-page .woocommerce .woocommerce-billing-fields input.input-text{width:100%;border-radius:10px;border:1px solid #d1d5db;padding:10px 12px;font-size:14px}
.oforma-checkout-page .woocommerce .woocommerce-billing-fields input.input-text:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 1px rgba(37,99,235,0.25)}
.oforma-checkout-page .woocommerce .woocommerce-additional-fields{display:none}
.oforma-checkout-page .woocommerce #order_review_heading{font-size:16px;font-weight:600;margin:0 0 8px}
.oforma-checkout-page .woocommerce #order_review{border-radius:14px;border:1px solid #e5e7eb;background:#f9fafb;padding:14px 14px 16px}
.oforma-checkout-page .woocommerce #order_review table.shop_table{border:none;margin:0}
.oforma-checkout-page .woocommerce #order_review table.shop_table th,.oforma-checkout-page .woocommerce #order_review table.shop_table td{border:none;padding:6px 0;font-size:14px}
.oforma-checkout-page .woocommerce #order_review table.shop_table tfoot th{font-weight:600}
.oforma-checkout-page .woocommerce #order_review table.shop_table tfoot .order-total th,.oforma-checkout-page .woocommerce #order_review table.shop_table tfoot .order-total td{padding-top:10px;border-top:1px solid #e5e7eb;font-size:15px}
.oforma-checkout-page .woocommerce #place_order{width:100%;margin-top:14px;background:#111827;color:#ffffff;border:none;border-radius:12px;padding:13px 16px;font-weight:600;font-size:15px;cursor:pointer;transition:background 0.15s ease,transform 0.05s ease}
.oforma-checkout-page .woocommerce #place_order:hover{background:#020617;transform:translateY(-1px)}
.oforma-checkout-page .woocommerce #place_order:active{transform:translateY(0)}
.oforma-checkout-page .woocommerce .woocommerce-terms-and-conditions-wrapper{margin-top:10px;font-size:12px;color:#6b7280}
.oforma-checkout-page .woocommerce .woocommerce-terms-and-conditions-wrapper label{display:inline;font-weight:500;color:#374151}
.oforma-checkout-page .woocommerce .woocommerce-terms-and-conditions-wrapper a{text-decoration:underline;text-decoration-style:dotted}
.oforma-checkout-page .woocommerce .woocommerce-info,.oforma-checkout-page .woocommerce .woocommerce-message,.oforma-checkout-page .woocommerce .woocommerce-error{border-radius:10px;font-size:13px}
@media (max-width:768px){.oforma-checkout-page .woocommerce{padding:18px 14px 22px;border-radius:0;box-shadow:none;border:none} .oforma-checkout-page .woocommerce .col2-set{grid-template-columns:1fr;gap:18px}}

/*отзывы*/
.of-testimonials-swiper .swiper-wrapper{align-items:stretch;}
.of-testimonials-swiper .swiper-slide{height:auto;display:flex;}
.of-testimonial-card{border-radius:12px;border:1px solid #e5e7eb;padding:16px 18px;background:#fff;display:flex;flex-direction:column;gap:8px;flex:1;}
.of-testimonial-text{font-size:14px;line-height:1.5;color:#374151;margin:0;}
.of-testimonial-author{font-weight:600;font-size:14px;color:#111827;margin:8px 0 0;}
.of-testimonial-meta{font-size:12px;color:#6b7280;margin:0;}
.of-testimonials-swiper{padding-bottom:40px;}
.of-testimonials-swiper .swiper-pagination{position:relative;margin-top:16px;}
.of-testimonials-swiper .swiper-button-prev,
.of-testimonials-swiper .swiper-button-next{width:32px;height:32px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 4px 10px rgba(15,23,42,0.08);}
.of-testimonials-swiper .swiper-button-prev:after,
.of-testimonials-swiper .swiper-button-next:after{font-size:14px;color:#4b5563;}
.of-testimonials-swiper .swiper-pagination-bullet{opacity:0.4;}
.of-testimonials-swiper .swiper-pagination-bullet-active{opacity:1;}


.ofks2-wrap{max-width:960px;margin:24px auto;padding:16px;border-radius:16px;border:1px solid #e5e7eb;background:#ffffff}
.ofks2-title{font-size:22px;font-weight:700;margin:0 0 12px}
.ofks2-field{flex:1 1 200px;display:flex;flex-direction:column;font-size:13px}
.ofks2-label{font-size:12px;color:#6b7280;margin-bottom:4px}
.ofks2-input{border:1px solid #d1d5db;border-radius:8px;padding:6px 8px;font-size:13px}
.ofks2-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:12px;flex-wrap:wrap}
.ofks2-btn{border:none;border-radius:999px;padding:8px 18px;font-size:13px;font-weight:600;cursor:pointer;background:#111827;color:#ffffff}
.ofks2-btn-secondary{border:1px solid #d1d5db;border-radius:999px;padding:7px 14px;font-size:12px;font-weight:500;cursor:pointer;background:#f9fafb;color:#111827}
.ofks2-result{margin-bottom:12px;font-size:13px}
.ofks2-select{border:1px solid #d1d5db;border-radius:8px;padding:6px 28px 6px 8px;font-size:13px;background:#ffffff url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2712%27%20height%3D%278%27%3E%3Cpath%20d%3D%27M2%201l4%204%204-4%27%20stroke%3D%27%239ca3af%27%20stroke-width%3D%271.5%27%20fill%3D%27none%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") no-repeat right 8px центр;appearance:none;-webkit-appearance:none;-moz-appearance:none;line-height:1.4}
.of-table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.of-table{width:100%;border-collapse:collapse;table-layout:fixed}
@media(max-width:768px){.of-table{width:auto}}
.of-table th,.of-table td{padding:4px 6px;border:1px solid #e5e7eb;font-size:12px;white-space:nowrap}
.of-table th{text-align:center;background:#f9fafb;font-weight:600}
.of-table input{width:100%;border:none;padding:3px 4px;font-size:12px;box-sizing:border-box}
.of-table input:focus{outline:none}


.ofks2-result{scroll-margin-top:90px}
.of-result--paywall{color:var(--color-accent-red); padding:30px}

/* Куки-баннер: всегда поверх и с управляемым отступом снизу */
:root{--cookie-bottom-offset:0px}
.cmplz-cookiebanner{z-index:45!important;bottom:var(--cookie-bottom-offset)!important}


#cmplz-manage-consent .cmplz-manage-consent {  display:none; left:45% !important;  min-width: auto !important; padding: 2px 7px !important; height: auto !important; position: absolute !important; bottom:0; font-size: 12px; color: #fff !important; background-color:var(--color-primary) !important}


.cmplz-links { display: none  !important}
.cmplz-accept {background:var(--color-primary) !important;color:#ffffff;box-shadow:0 2px 6px rgba(13,110,253,0.3); width: 100%; border: none !important}/* === OVERRIDES (не меняют display у .cmplz-save-preferences) === */
@media (max-width: 768px) {
  /* Блок кнопок на всю ширину, в одну строку */
  .cmplz-cookiebanner { grid-gap: 1px !important; opacity: 0.95; width: 95% !important; right:10px !important; left:10px !important; margin: 0 auto !important; box-shadow: 1px 1px 5px #777 !important}
  .cmplz-cookiebanner .cmplz-buttons{
    display: flex !important;
    flex-direction: row !important;   /* перекрываем колонку */
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: stretch;
    gap: 6px;
    width: 100%;
  }

  /* Базовые размеры, без display */
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn,
  .cmplz-cookiebanner .cmplz-buttons a.cmplz-btn{
    flex: 0 1 auto;                   /* ширина по содержимому */
    width: auto !important;
    min-width: 0;
    height: 40px;
    padding: 8px 10px;
    font-size: clamp(10px, 2.8vw, 12px);
    line-height: 1.1;
    white-space: nowrap;
    text-align: center;
  }

  /* Самые большие: Принять… и (когда видна) Сохранить */
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept{
    flex: 1 1 0;                      /* растёт сильнее */
  }
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences{
    /*flex: 1 1 0;   */                   /* тоже большая, НО display не трогаем */
    flex: 0 1 auto;
  }

  /* Компактная шестерёнка вместо «Настройки» */
/*  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences{
    flex: 0 0 auto;                 
    padding: 0 10px;
    font-size: 0 !important;        
  }
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences::before{
    content: "\2699";           
    font-size: clamp(16px, 4vw, 18px);
    line-height: 1;
  }
*/
  /* «Отказаться» */
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny{
    background-color: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    color: #666 !important;
    font-weight: 400 !important;
  }
}

/* На всякий случай ещё раз фиксируем «ряд», если где-то ниже в теме ставится колонка */
@media (max-width: 768px){
  .cmplz-cookiebanner .cmplz-buttons{ flex-direction: row !important; }
}
