/* když chceš nechat header a footer normálně v boxu, sahat jen na obsah */
#content {
    width: 100%;
    max-width: 100%;
}

/* Padding u widgetů ve footer */
.custom-footer {
    padding-left: 0px;
    padding-top: 30px;
}

.banner-rating-addon .banner-rating__title {
    font-size: 20px;
    color: #666666;
    font-weight: 600;
    font-family: futura-pt;
}
.banner-rating-addon .banner-rating__btn.btn.btn-secondary {
    font-weight: 600;
    font-family:  futura-pt;
}
.banner-rating-addon .banner-rating.has-bg {
    background-color: rgba(0,0,0,0);
}

/* Font futura-pt */
 body {
  font-family: futura-pt, sans-serif !important;
			}
      
 h1,h2,h3,h4,h5,h6 {
  font-family: futura-pt, sans-serif !important;
			}
      
.category-title {
    font-family: futura-pt, sans-serif !important;
			}
      
.p-detail-inner-header h1 {
    font-family: futura-pt, sans-serif !important;
			}
      
h2.products-related-header {
    font-family: futura-pt, sans-serif !important;
			}
      
.products-block.products .p .price span, .products-block.products .p .price strong {
    font-family: futura-pt, sans-serif !important;
			}
      
    /* Toto upraví VŠECHNY nadpisy skupin na webu */
.h4.homepage-group-title, h4.homepage-group-title {
    font-size: 28px;
    font-family: futura-pt, sans-serif !important;
    margin-top: 0px;
    font-weight: 600;
    text-align: center;
    /* Pokud sem přidáte ty barvy, budou všude stejné */
    background-color: #000000a2 !important;
    color: #ffffff !important;
    height: 38px !important;
    line-height: 38px !important;
    display: block !important;
    visibility: visible !important;
}

/* Upozornění na stránce */
.site-msg {
    font-size: 18px;
    font-weight: 400;
    color: #d93621;
}

/* Extended description hidden */
.extended-description h3:first-of-type { display: none }

/* Basic description hidden */
.description-inner .basic-description h3:first-of-type { display: none }


/* Název banneru */
.extended-banner-title {
    background-color: #000000a2;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    height: 38px;
    top: 0;
}

/* Popis odkazu banneru */
.extended-banner-link {
    font-size: 16px;
    font-weight: 600;
    height: 33px;
    margin-top: -9px;
    right: 0;
    top: 90%;
}

/* Text banneru */
.extended-banner-text {
    font-size: 18px;
    font-weight: 600;
}

/* Others */
.flag.flag-tip {
  background-color: #de9c0d;
}

.p-tools .btn.btn-primary,
a.btn.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.add-to-cart-button {
  border: none;
  background-color: #bf3d3d;
}

.products-block.products .p .name {
  height: auto;
  min-height: 47px;
  color: black;
  font-size: 18px;
  line-height: 1.3em;
  font-family: futura-pt, sans-serif !important;
}

.flag.flag-tip {
  background-color: #de9c0d;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid white;
}

.products-block .p .flags-default {
  top: 30px;
}

/* ************************ */
/* Fixes and customizations */
/* ************************ */
@media (min-width: 768px) {
    .top-navigation-bar {
        font-size: 16px;
        height: 32px;
        display: flex;
        align-items: center;
    }
  
    .top-navigation-contacts {
        font-size: 15px;
        height: 30px;
        line-height: 30px;
    }

    #content .banners-row {
        margin: 0;
    }
}

.top-navigation-bar .dropdown button,
.top-navigation-bar a {
    color: #888;
}

.menu {
    font-size: 16px;
}

#formSearchForm input {
    height: 32px;
}

#formSearchForm button {
    height: 32px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 0 10px;
}

.homepage-box.before-carousel {
    padding: 0;
}

@media only screen and (max-width: 480px) {
    .carousel-inner > .item > a > img {
        object-position: left;
    }
}

.benefitBanner {
    border: 1px solid #888;
    border-radius: 12px;
    padding: 25px 15px 0px 15px;
}

#categories {
    padding: 0px;
    max-width: 100%;
}

/* Hover effect fix */
.card-1:hover .card-upper {
    background-image: linear-gradient(#00000050, #00000000), url('https://654344.myshoptet.com/user/documents/soustruhy.jpg');
}

.card-2:hover .card-upper {
    background-image: linear-gradient(#00000050, #00000000), url('https://654344.myshoptet.com/user/documents/upinani.jpg');
}

.card-3:hover .card-upper {
    background-image: linear-gradient(#00000050, #00000000), url('https://654344.myshoptet.com/user/documents/nastroje.jpg');
}

/* Products fix + margins */
#products-1 {
    margin-bottom: 45px;
}

#categories .card-row {
    margin-bottom: 10px;
}

/* Kategorie */
.subcategories.with-image li a {
    height: 63px;
    padding: 0;
}

.subcategories.with-image li a .image {
    width: 30%;
}

.subcategories.with-image li a .text {
    width: 70%;
}

.subcategories.with-image li a .image img {
    max-height: 51px;
    width: 90%;
    float: right;
}

/* Fix in styles */
.p-tools .btn.btn-primary,
a.btn.btn-primary {
    /* background-color: red; */
    /* border-color: red; */
    /* to */
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Product name appendix */
.product-appendix {
    display: block;
    margin-top: 4px;
    font-size: 0.9em;
    line-height: 1.3;
    color: #666;
}

/* Písmo menu — všechna zařízení */
#navigation .menu-level-1 > li > a,
#navigation .menu-level-1 > li > a b {
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700 !important;
}

/* Menu bar full width */
@media (min-width: 1024px) {

    #header .container.navigation-wrapper {
        position: relative;
    }

    #navigation {
        position: relative;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        width: 100vw;
        min-height: 52px !important;
        display: flex !important;
        align-items: stretch !important;
    }

    #navigation .navigation-in {
        max-width: 100%;
        margin: 0 auto;
        padding-left: calc(50vw - 720px);
        padding-right: calc(50vw - 720px);
        display: flex !important;
        align-items: center !important;
        min-height: 52px !important;
    }

    #navigation .menu-level-1 > li > a,
    #navigation .menu-level-1 > li > a b {
        font-size: 16px !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 700 !important;
    }

    #navigation .menu-level-1 > li {
        border-left-color: #f1f1f1 !important;
    }
}

#signature,
#signature a,
#signature img {
    display: none !important;
}

.footer-bottom {
    text-align: center !important;
}

.footer-bottom .copyright {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

/* Nastavení 4 produktů na řádek pouze pro sekci products-11 */
@media (min-width: 992px) {
    .homepage-products-11 {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .homepage-products-11 .product {
        width: 25% !important; /* 25% = 4 produkty, 33.3% = 3 produkty */
        max-width: 25% !important;
        flex: 0 0 25% !important;
        border-top: none !important; /* Odstraní to šedé ohraničení */
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* Odstranění linky i na mobilu pro tuto sekci */
.homepage-products-11 .product {
    border-top: none !important;
}

/* Oprava svislých čar pro 4 produkty na řádek v sekci products-11 */
@media (min-width: 992px) {
    /* Přidáme svislou linku vlevo všem produktům */
    .homepage-products-11 .product {
        border-left: 1px solid #eeeeee !important; /* Barva standardní šedé linky */
        border-right: none !important;
    }

    /* Prvnímu produktu v řadě linku vlevo schováme, aby nebyla na kraji webu */
    .homepage-products-11 .product:nth-child(4n+1) {
        border-left: none !important;
    }
}