/* Theme values are inherited by nested components. */
.theme-scope { background-color: var(--theme-background); color: var(--theme-text); font-family: var(--theme-font-main); }
.theme-scope h1,.theme-scope h2,.theme-scope h3,.theme-scope .title { font-family: var(--theme-font-heading); }
.landing-page.theme-scope,footer.theme-scope,.menu.theme-scope { background-color: var(--theme-background); color: var(--theme-text); }
.theme-scope .title { color: var(--theme-text); margin: 0; }
.theme-scope .product-card .info-block .name,.theme-scope .product-card .info-block .price,.theme-scope .partners-list { color: var(--theme-text); }
.theme-scope .partners-list .items { border-color: var(--theme-border); }
.theme-scope .button { background: var(--theme-accent); color: var(--theme-button-text); }
.theme-scope .button:hover { background: var(--theme-accent-hover); color: var(--theme-button-text); }
.menu.theme-scope .items a.item { color: var(--theme-text); }
.menu.theme-scope .items .item.active,.menu.theme-scope .items .item:hover,.menu.theme-scope .items .item:focus-visible { background: var(--theme-menu-hover-background); color: var(--theme-menu-hover-text); }
.menu.theme-scope .burger { border: 0; padding: 0; background: transparent; }
.menu.theme-scope.light .burger { filter: none; }
.menu.theme-scope.dark .burger { filter: invert(1); }
footer.theme-scope .content .items a,footer.theme-scope .content .items .headed div { color: var(--theme-text); }
footer.theme-scope .content .items a:hover { color: var(--theme-accent); }
.theme-scope.light .social img { filter: brightness(0); }
.theme-scope.dark .social img { filter: brightness(0) invert(1); }
input,textarea,select,button { font-family: inherit; }

.modal .modal__container.theme-scope { background:var(--theme-background);color:var(--theme-text);position:relative; }
.modal .theme-scope .modal__content,.modal .theme-scope .modal__title,.modal .theme-scope .alert-title { color:var(--theme-text); }
.modal .theme-scope input:not([type=submit]):not([type=checkbox]),.modal .theme-scope textarea,.modal .theme-scope select { background:var(--theme-background);color:var(--theme-text);border-color:var(--theme-border); }
.modal .theme-scope .hint { color:var(--theme-muted); }
#call_me .modal__close { position:absolute;right:12px;top:8px;width:36px;height:36px;border:0;background:transparent;color:var(--theme-text);cursor:pointer;font-size:30px;line-height:36px;padding:0; }
#call_me .modal__close::before { content:none; }
#call_me .modal__content { padding-top:28px; }
