/* Základné úpravy Kontrolka.sk – presunuté z HTML záhlavia. */

#footer #footer h4,#footer .contact-box ul li>span::before,#footer .contact-box h4,#footer h3,#footer h4,#footer,#footer p,#footer a{color:#fff!important}
#footer a:hover{color:#ccc!important}
.body-banners>div{width:100%;max-width:100%;flex:0 0 100%}
body{background:#fff!important}
body.type-index .products-block .p-in-in{min-height:auto}
.category-header input[type="radio"]:checked+label{background-color:var(--color-primary)}
.welcome .welcome__content p{margin-bottom:0}
.welcome .welcome__content p+p{margin-top:20px}
@media(min-width:768px){
/* Kontakty ponecháva na pôvodnej pozícii šablóna Apollo, aby neprekrývali natívnu menu. */
.welcome h1{font-size:40px;margin-bottom:30px}
.welcome p{font-size:16px;line-height:1.8;margin-bottom:30px}
.header-top{padding-top:30px;padding-bottom:10px}
.popup-widget.cart-widget,.popup-widget.login-widget{top:130px}
.admin-logged .popup-widget.cart-widget,.admin-logged .popup-widget.login-widget{top:130px}
.products-related-block h2,.products-alternative-block h2,h4.homepage-group-title,.h4.homepage-group-title{font-size:36px}
}
@media(min-width:992px){
.welcome{padding:40px}
.header-top{padding-top:30px;padding-bottom:10px}
.popup-widget.cart-widget,.popup-widget.login-widget{top:130px}
.admin-logged .popup-widget.cart-widget,.admin-logged .popup-widget.login-widget{top:155px}
}
@media(max-width:767px){.top-navigation-bar{background:#fff}}
@media(max-width:370px){.top-navigation-bar .site-name a img{max-height:30px}}
:root{--border-radius-top-category:10px;--color-top-category-black:#666;--color-top-category-black-hover:#333;--color-top-category-gray:#fff;--border-color-top-category:#e2e2e2;--background-color-menu-style-1-top-category:#fbfbfb;--background-color-arrow-top-category:#f1f1f1;--background-color-arrow-top-category-hover:#e2e2e2;--background-color-slider-style-1-top-category:#e2e2e2;--background-color-slider-style-1-top-category-hover:#000;--color-slider-style-1-top-category:#000;--color-slider-style-1-top-category-hover:#fff}
.top-category-addon .menu-content>div>div>a{color:#000}
@media(max-width:767px){
[class*="top-category"] a,[class*="top-category"] span,[class*="top-category"] div{text-align:center!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
}

/* Produkty na úvodnej stránke – mobil. */
@media(max-width:767px){
body.type-index .products-block .products-block .product,body.type-index .products .product{flex:0 0 40%!important;max-width:40%!important;width:40%!important;padding-left:3px!important;padding-right:3px!important;margin:0!important}
body.type-index .products-block,body.type-index .products{column-gap:6px!important;row-gap:18px!important}
body.type-index .products-block .product .p,body.type-index .products .product .p,body.type-index .products-block .p,body.type-index .products .p{margin-left:0!important;margin-right:0!important}
body.type-index .products-block .p-desc,body.type-index .products-block .p .p-desc,body.type-index .products-block .description,body.type-index .products-block .p-short-description,body.type-index .products .p-desc,body.type-index .products .p .p-desc,body.type-index .products .description,body.type-index .products .p-short-description,body.type-index .product .p-desc,body.type-index .product .description,body.type-index .p .p-desc,body.type-index .p .description,body.type-index .p .p-short-description{display:none!important}
body.type-index .products-block .p .p-in-in>a,body.type-index .products-block .p .p-in-in .name,body.type-index .products-block .p .p-in-in .name a,body.type-index .products-block .p .p-in-in .p-name,body.type-index .products-block .p .p-in-in .p-name a,body.type-index .products .p .p-in-in>a,body.type-index .products .p .p-in-in .name,body.type-index .products .p .p-in-in .name a,body.type-index .products .p .p-in-in .p-name,body.type-index .products .p .p-in-in .p-name a{font-size:12px!important;line-height:1.25!important;font-weight:700!important}
body.type-index .products-block .flags .flag:not(.flag-discount),body.type-index .products .flags .flag:not(.flag-discount){display:none!important}
body.type-index .products-block .flag.flag-discount,body.type-index .products .flag.flag-discount{transform:scale(.92)!important;transform-origin:top right!important}
body.type-index .products-block .availability,body.type-index .products .availability{font-size:12px!important;line-height:1.1!important}
}

/* Ceny produktov. */
.p .prices{display:grid!important;grid-template-columns:1fr!important;gap:2px!important}
.p .prices>*,.p .price-standard,.p .price-final{display:block!important;margin-left:0!important;white-space:nowrap!important}
@media(max-width:767px){.p .price-standard{font-size:14px!important}.p .price-final{font-size:16px!important}}

/* Podkategórie – mobil. */
@media(max-width:767px){
body.type-category .subcategories,body.type-category .categories{display:flex!important;flex-wrap:wrap!important;gap:12px!important}
body.type-category .subcategories>*,body.type-category .categories>*{flex:0 0 calc(50% - 6px)!important;max-width:calc(50% - 6px)!important}
body.type-category .subcategories a,body.type-category .categories a{min-height:140px!important;padding:10px 6px!important;text-align:center!important}
body.type-category .subcategories img,body.type-category .categories img{max-width:70px!important;max-height:70px!important}
.subcategories span,.categories span{font-size:15px!important;line-height:1.25!important;white-space:normal!important;overflow:visible!important}
}

/* Desktop: odkazy, telefón, e-mail a natívna mena v jednom riadku. */
@media (min-width: 992px) {
  .top-navigation-bar > .container {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 16px;
  }
  .top-navigation-bar > .container > .top-navigation-menu {
    order: 1;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
  }
  .top-navigation-bar > .container > .top-navigation-contacts {
    order: 2;
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: 49px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    white-space: nowrap;
  }
  .top-navigation-bar > .container > .top-navigation-tools {
    order: 3;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
  }
  .top-navigation-bar .top-navigation-tools > [data-testid="topnavCurrencyDropdown"] {
    margin-right: 0 !important;
  }
}
