/* Společný grid a střídmá návaznost na původní Elektro Studio. */
body.template-13 { background: #f2f2f2; }
body.template-13 #content-wrapper { background: transparent; }
body.template-13 #header { background: #fff; }
body.template-13 #navigation { border-bottom: 1px solid #e3e5e7; }
body.template-13 .products-block .p { background: #fff; border: 1px solid #e8e8e8; border-radius: 2px; }
body.template-13 .products-block .p .name { min-height: 3em; line-height: 1.5; }
body.template-13 .products-block .price-final { color: #2376a8; }
body.template-13 #footer { background: #30363a; color: #eceff1; }
body.template-13 #footer :is(h3,h4,.contact-box ul li>span) { color: #fff; }
body.template-13 #footer a { color: #e5ebef; }
body.template-13 #footer a:hover { color: #79c3ef; }
body.template-13 #footer .footer-bottom { background: #2a3034; }
.es-home-promos a,.es-category-grid a,.es-feature,.es-guide-related { border-radius: 4px; }

/* Banner respektuje vlastní poměr stran a nikdy neořezává nápisy. */
body.in-index #carousel { width: var(--es-viewport-width,calc(100vw - var(--scrollbar-width,0px))); max-width: none; margin-inline: calc((100% - var(--es-viewport-width,calc(100vw - var(--scrollbar-width,0px)))) / 2); }
body.in-index #carousel .carousel-inner { min-height: 0 !important; height: auto; }
body.in-index #carousel .item>a { display: block; }
body.in-index #carousel .item img { display: block; width: 100%; max-width: 100%; height: auto !important; object-fit: contain; }


/* Vnejsi osy paticky navazuji na obsah stranky. */
@media(min-width:768px) { body.template-13 #footer>.container { padding-inline: 0; } }
@media(max-width:767px) {
 body.template-13 #footer>.container { padding-inline: 10px; }
 body.template-13 #footer .custom-footer { margin-inline: 0; }
 body.template-13 #footer .custom-footer>div { padding-inline: 0; }
}

/* Platební značky ve světlém odstínu na tmavé patičce. */
#footer .custom-footer__onlinePayments img { filter: brightness(0) invert(.9); }
