/* --- ZÁKLADNÍ PÍSMA A BARVY --- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .navigation-in a, .price strong, .products-block.products .p .price span, .btn:not(.cart-count), a.btn:not(.cart-count), .fav-cat li a, .user-action-tabs li a, .cart-widget .popup-widget-inner::before, .cart-widget-product-name a, .quantity .increase::before, .quantity .decrease::before, .cart-widget-product > span, .search-whisperer ul::before, .search-whisperer .p-info span, .search-whisperer .price, .search-box::before, .search-whisperer-documents a, .box-bg-variant .categories a, .box-filters::before, .param-filter-top::before, .subcategories.with-image li a .text, .name, .category-header label, .pagination>a, .pagination>strong, .search-results-groups #search-group-categories .search-results-group-list ul li a, .availability-value, .price-final, .p-gifts-heading, .p-gift-name, .shp-tabs-holder ul.shp-tabs li a, .all-param span, #productsAlternative::before, .rate-average, .vote-form::before, #variants::before, .var-dostupnost, .variant-name, .vote-title, ol.cart-header li a, ol.cart-header li strong, .cart-table tr td.p-name a, .price-wrapper, a.cart-related-name, .empty-cart-boxes ul li a, .payment-info, .payment-shipping-price, .cart-item-name, .cart-item-price, .order-summary-item.helper, .recapitulation-single, .reca-number, .id--15 .cart-table .p-name, .id--15 .cart-table .p-price, #register-form > fieldset .form-group:not(.consents) label, a.login-btn.facebook, a.login-btn.google, a.login-btn.seznam, ul.manufacturers ul li, .search-whisperer-empty, .menu-helper > ul > li a, .filtrovat, .tab-mobil, .free-gift-name, .id--9 .free-product-gifts-wrapper::before, .vote-form > form::before, #footer .contact-box::before, *, .external-fonts-loaded, .blank-mode, body, html, .external-fonts-loaded body, body.blank-mode, .product-appendix, .empty-content-404 h1, .dropdown-menu > li > a, .header-top .btn.cart-count .cart-price, .news-item-widget h5, .header-top .oblibeneBtn em, .navigation-buttons > a[data-target="cart"] i {font-family:'Poppins',sans-serif!important;}

body, .copyright, #signature {color:#0B6A8E}
.homepage-box.welcome-wrapper {background-color:#E9EBEF;}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .p .name, .top-nav-button::before, .btn.cart-count::before, a.btn.cart-count::before, .top-nav-button, .btn.cart-count .cart-price, #footer .contact-box::before {color:#0B6A8E}
.top-nav-button, .btn.cart-count .cart-price, .homepage-box.welcome-wrapper h1 {font-weight:600}
.homepage-box.welcome-wrapper h5 {font-weight:500}
#footer .contact-box a, #footer .password-helper a, #footer .news-item-widget a, .sidebar .news-item-widget a, #footer ul a {color:#0B6A8E}
#footer .contact-box {background:transparent;}
.flag {border-radius:18px;font-weight:600}
h4.homepage-group-title, .h4.homepage-group-title {text-transform:uppercase;font-weight:900;letter-spacing: 2px;}
.homepage-box.before-carousel {padding-top:0;}
.navigation-in ul li a b {text-transform:uppercase;}
.search-form::before, .subscribe-form::before {color:#0B6A8E;border-color:#0B6A8E;}
.custom-footer {border:0;}
.footer-banners {border:0;}
.homepage-box.middle-banners-wrapper {margin-top:0;}
.product .btn:not(.cart-count) {border-radius: 30px;}

/* --- FIX LOG V PATIČCE - BEZPEČNÉ ZVĚTŠENÍ --- */
#footer .footer-links li:first-child {
    display: block !important;
    width: 100% !important;
    max-width: 1600px !important; /* Bezpečnější šířka pro desktop */
    height: auto !important;
    margin: 20px auto !important; 
    padding: 0 !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
    aspect-ratio: 990/63!important; 
    background: url('/user/documents/upload/payments-new2.png') no-repeat center center !important;
    background-size: contain !important; 
}

@media screen and (min-width: 768px) {
#header::after {border:0;box-shadow:none;background-color:#0B6A8E;}
#navigation {border:0;}.navigation-in {background:transparent;}.navigation-in ul li a b {color:#fff;}.header-top .form-control {background:#F6F6F6;border-color:#F6F6F6;color:#0B6A8E;}.header-top .form-control::placeholder {color:#0B6A8E;}.header-top .compact-form .btn {top:0;right:0;height:56px;line-height:56px;font-weight:500;letter-spacing: 1.26px;}
.top-nav-button::after, .btn.cart-count::after {color:#0B6A8E}
.submenu-arrow::after {color:#F6F6F6}
.custom-footer {width:100%;justify-content: space-between;}
#footer .contact-box::before, #footer .custom-footer > div h4 {font-weight:600}
.footer-banner h4.homepage-group-title {margin-top:0!important;}
.homepage-box.welcome-wrapper h5 {margin-bottom:30px}
.homepage-box.before-carousel .container .banners-row {width:100vw;margin:0;left:50%;transform:translate(-50%,0);position:relative;}}
.homepage-box.before-carousel .container .banners-row {margin-bottom:24px;}
.welcome-img {top: 0;bottom:0;height:100%;align-items: flex-end;margin:0;}
@media screen and (min-width: 1200px) {.welcome-img {position: absolute;right: 0;top: auto;bottom: -66px;margin: 0;height: calc(100% + 66px);display: flex;width: calc(100% - 670px);justify-content: center;align-items: flex-end;}}
@media screen and (max-width: 1199px) {.welcome-wrapper {padding-top:66px;}}
@media screen and (max-width: 991px) {.welcome-img {order:999;margin-bottom:-66px;}
.welcome-wrapper {position: relative;display: flex;flex-direction: column;}}

@media screen and (max-width: 767px) {
    .welcome-wrapper {padding-top:31px;}
    .welcome-img {margin-bottom:-31px;}
    .footer-banners {margin:0;}
    .footer-banners .footer-banner {padding:0;padding-left:20px;padding-right:20px;margin-bottom:16px!important;}
    .footer-banners .footer-banner {width:100%!important;}
    
    /* FIX MOBILU: Zvětšeno, ale bez rozbití šablony */
    #footer .footer-links { width: 100% !important; max-width: 100% !important; }
    #footer .footer-links li:first-child { 
        max-width: 450px !important; /* Zmenšeno z 640px na 450px pro stabilitu */
        width: 100% !important;
        margin: 20px auto !important; /* Vracíme se k normálnímu okraji */
        transform: scale(1.1); /* Jen mírné zvětšení o 10% místo 50% */
    }
}

.custom-footer__banner9 .banner-wrapper {text-align:center;}
.custom-footer__banner9 img {margin:auto;}
.mobile.type-index main.content {display:flex;flex-direction:column;}
.mobile.type-index main.content .footer-banners {order:5}
.mobile.type-index main.content .body-banners {order:2;padding-top:16px;}
.mobile.type-index main.content .homepage-products-heading-1 {order:3}
.mobile.type-index main.content .homepage-products-1 {order:4}
.mobile.type-index main.content .homepage-products-heading-2 {order:6}
.mobile.type-index main.content .homepage-products-2 {order:7}
@media (min-width: 768px) {body:not(.admin-logged) #header {-webkit-transition-duration: 0.3s;transition-duration: 0.3s;margin-top:0!important;position:fixed!important;top:49px!important;left:0!important;right:0!important;width:100%!important;z-index:3!important;}
body:not(.admin-logged) .overall-wrapper {padding-top:219px;}
.scrolled body:not(.admin-logged) #header {margin-top:-49px!important;}
body:not(.admin-logged) .top-navigation-bar {-webkit-transition-duration: 0.3s;transition-duration: 0.3s;position:absolute!important;top:0!important;left:0!important;right:0!important;width:100%!important;margin-bottom:0!important;margin-top:0!important;background:#fff!important;z-index:4}
.scrolled body:not(.admin-logged) .top-navigation-bar {margin-top:-49px!important;}
body:not(.admin-logged) .user-action {position:fixed;top:0;left:0;right:0;width:100%;-webkit-transition-duration: 0.6s;transition-duration: 0.6s;z-index:6}
.scrolled body:not(.admin-logged) .user-action {margin-top:-49px!important;}
body:not(.admin-logged) #cboxOverlay, .swiper-arrow, body:not(.admin-logged).submenu-visible:not(.menu-helper-visible)::before {z-index:2!important;}
body:not(.admin-logged) .flags, body:not(.admin-logged) .flag {z-index:2!important;}
.navigation-in {font-size:10.5px}}