/*  Carousel  */
#carousel .item .extended-banner-texts .extended-banner-title, #carousel .item .extended-banner-texts .extended-banner-text, #carousel .extended-banner-texts .extended-banner-link, #carousel .extended-banner-texts .extended-banner-link:hover {color: #fff;}
#carousel .extended-banner-texts .extended-banner-link:after, #carousel .extended-banner-texts .extended-banner-link:hover:after {background: #fff;}
#carousel .extended-banner-texts .extended-banner-link {font-size: 20px;font-weight: 600;}

.body-banners {display: flex;flex-direction: column;flex-wrap: nowrap;margin: 0;align-items: center;}
.body-banners .col-sm-4, .body-banners .col-sm-8 {width: 100%;-ms-flex: 0 0 50%;flex: 0 0 100%;max-width: 100%;}

/*  Katalógy  */
.hp-katalogy {padding: 20px 0 10px;}
.hp-katalogy__inner {max-width: 1280px;margin: 0 auto;padding: 0 20px;}
.hp-katalogy__title {margin: 0 0 30px;text-align: center;font-size: 54px;line-height: 1.08;font-weight: 400;text-transform: uppercase;letter-spacing: 1px;color: #b8a06a;}
.hp-katalogy__grid {display: grid;grid-template-columns: repeat(4, minmax(0, 1fr));gap: 20px;}
.hp-katalog-card {display: block;text-decoration: none;transition: transform 0.25s ease, opacity 0.25s ease;}
.hp-katalog-card:hover {transform: translateY(-4px);opacity: 0.96;}
.hp-katalog-card__media {display: block;width: 100%;height: 400px;overflow: hidden;background: #f5f5f5;}
.hp-katalog-card__media img {display: block;width: 100%;height: 100%;object-fit: cover;object-position: center top;}

/*  Top kategórie  */
.type-index .body-banners .banner-wrapper a:hover img {transform: none !important;}
.type-index .body-banners .banner-wrapper a {overflow: hidden !important;}
.top-cat__heading {text-align: center;margin: 0 0 30px;font-size: 36px;font-weight: 500;letter-spacing: 1px;text-transform: uppercase;color: #000;}
.top-cat {max-width: 1400px;margin: 125px auto 25px auto;padding: 0 15px;}
.top-cat__grid {display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 15px;}
.top-cat__item {position: relative;display: block;overflow: hidden;text-decoration: none;background: #f3f4f6;min-height: 275px;border: 1px solid #e5e7eb;transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;}
.top-cat__media {position: absolute;inset: 0;}
.top-cat__img {width: 100%;height: 100%;object-fit: cover;transform: scale(1);transition: transform .45s ease, filter .35s ease;display: block;}
.top-cat__overlay {position: absolute;inset: 0;background: linear-gradient(180deg, #00000000 0%, #000000b3 75%, #000000cc 100%);transition: opacity .25s ease;opacity: .95;}
.top-cat__label {position: absolute;left: 16px;right: 16px;bottom: 14px;z-index: 2;}
.top-cat__title{display: inline-flex;align-items: center;gap: 10px;color: #ffffff;font-size: 18px;font-weight: 600;line-height: 1.15;letter-spacing: .2px;text-shadow: 0 8px 18px #00000066;}
.top-cat__arrow {display: inline-flex;align-items: center;justify-content: center;width: 30px;height: 30px;border-radius: 999px;background: #ffffff2b;border: 1px solid #ffffff40;transform: translateX(0);transition: transform .25s ease, background .25s ease, border-color .25s ease;}
.top-cat__item:hover {transform: translateY(-3px);border-color: #d1d5db;box-shadow: 0 14px 30px #e5e7eb;}
.top-cat__item:hover .top-cat__img {transform: scale(1.04);filter: saturate(1.05);}
.top-cat__item:hover .top-cat__overlay {opacity: .85;}
.top-cat__item:hover .top-cat__arrow {transform: translateX(4px);background: #ffffff3d;border-color: #ffffff66;}
.top-cat__item:focus {outline: 3px solid #111827;outline-offset: 3px;}

/* Footer */
footer {background-color: #28282B;margin: 0px;}
footer .custom-footer {padding: 30px 50px;}
#footer h3 {color: #ffffff;font-size: 18px;text-transform: uppercase;}
#footer ul a, #signature a, #footer .js-cookies-settings, footer .contact-box>strong {color: #ffffff !important;}
body footer .container.footer-bottom .copyright {color: #ffffff;}
footer .footer-socials .facebook a:before, footer .footer-socials .instagram a:before, footer .footer-contacts .contact-box li .mail:before, footer .footer-contacts .contact-box li .tel:before, footer .site-name>a img {filter: brightness(0) invert(1);}
footer .site-name {padding: 30px 50px;border-bottom: 1px solid #48484d;}
footer .footer-links-icons .footer-icons .footer-icon, footer .footer-links-icons .footer-icons .footer-icon:last-child {border: 1px solid #48484d;margin: 10px;min-width: auto;}
footer .footer-links-icons .footer-icons {border: none;}
body footer .container.footer-bottom .copyright .podpis, body footer .container.footer-bottom .copyright .podpis a {display: none;}

/* Newsletter */
.custom-footer__newsletter.newsletter-moved-above-footer {width: 100% !important;max-width: 100%;margin: 0 !important;padding: 80px 50px !important;box-sizing: border-box;overflow: hidden;}

@media (min-width: 768px){
#header .site-name img {max-height: 70px;height: auto;width: auto;display: block;}
#navigation ul.menu-level-1>li .menu-level-2 li>div>a {font-size: 18px;margin-bottom: 5px !important;margin-top: 10px !important;}
#navigation ul.menu-level-1>li .menu-level-2 li>div>ul.menu-level-3 li a {padding-bottom: 3px;}
#navigation ul.menu-level-1>li .menu-level-2 li {margin-top: 15px;}}

@media (max-width: 1199px){
  .top-cat__item {min-height: 200px;}
}

@media (max-width: 991px){
  .hp-katalogy__grid {grid-template-columns: repeat(3, minmax(0, 1fr));gap: 20px;}
  .top-cat__grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
}

@media (max-width: 767px){
  .hp-katalogy__grid {grid-template-columns: repeat(2, minmax(0, 1fr));gap: 15px;}
  .top-cat__grid {grid-template-columns: 1fr;}
  #carousel .item .extended-banner-texts {position: absolute;padding: 50px 5px 20px 5px;}
  #carousel .extended-banner-texts {background-color: transparent;}
  #carousel .extended-banner-texts .extended-banner-text {text-align: left;}
  footer .footer-links-icons .footer-icons {display: flex;flex-wrap: wrap;flex-direction: row;justify-content: center;align-items: center;}
  footer .footer-links-icons .footer-icons .footer-icon {display: flex !important;flex: 0 0 auto !important;padding: 10px 20px !important;}
}

@media only screen and (max-width: 480px) {
   footer .footer-links-icons .footer-icons .footer-icon {padding: 10px 20px;}
  .hp-katalogy__grid {grid-template-columns: 1fr;}
}