.btn {
    font-size: var(--font-small);
    font-weight: 500;
}
body.front #content .btn,
#footer-contact-form .btn {
    min-width: 160px;
}
.btn.btn-dealers {
    font-size: var(--font-h4);
    font-weight: 800;
    letter-spacing: 2px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.bg-blue {
    background-color: var(--gray-base);
    color: #fff;
}
.bg-red {
    background-color: var(--shop-color);
    color: #fff;
}
.border-radius {
    border-radius: var(--border-radius)
}
body:not(.product) #content {
    background-color: var(--gray-lighter);
}

/* HEADER */
.header-box .top-bar {
    background-color: var(--gray-base);
    color: #fff;
    font-size: var(--font-small);
    font-weight: 700;
}
.header-box .top-bar .shop-info {
    display: flex;
    column-gap: 30px;
}
.header-box .top-bar .shop-info li a {
    display: inline;
    padding: 0;
    white-space: nowrap;
}
.header-box .top-bar .shop-info li a:hover {
    color: #fff;
}
.navbar-brand {
    padding-bottom: 0;
    padding-top: 0;
}
.navbar-form .form-control {
    background-color: transparent;
    border: var(--shop-color) solid 1px;
    border-right: none;
}
.navbar-form .form-submit {
    border: var(--shop-color) solid 1px;
    border-left: none;
    height: 50px;
}
.navbar-form .form-submit img {
    display: block;
}
.navbar-toolbox .navbar-nav li a.category-toggle {
    border: var(--shop-color) solid 1px !important;
    border-radius: var(--border-radius);
    height: 50px;
    min-width: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: center;
    column-gap: 15px;
}
@media screen and (min-width: 768px) {
    .navbar-toolbox .navbar-nav li a.category-toggle {
        margin: 0 10px 0 5px;
        padding: 9px 18px !important;
    }
}
.navbar-toolbox .navbar-nav > li > .dropdown-menu {
    margin-top: calc( (var(--navbar-default-height) - var(--navbar-nav-height)) / 2 );
}
.navbar-cart-slide {
    color: #fff;
    background-color: var(--gray-base);
    border-color: var(--gray-base);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}
@media screen and (min-width: 768px) {
    .js-search-result > ul {
        margin-top: calc( (var(--navbar-default-height) - var(--navbar-nav-height)) / 2 ) !important;
    }
    .navbar-nav > li > ul.dropdown-menu {
        margin-top: calc( (var(--navbar-default-height) - var(--navbar-nav-height)) / 2 ) !important;
    }
    .navbar-cart-slide {
        margin-top: calc( (var(--navbar-default-height) - var(--navbar-nav-height)) / 2 );
    }
}

/* MAIN PAGE */
#sideMenu .category-menu {
    background-color: #fff;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}
body:not(.front) #sideMenu .category-menu {
    margin-top: 30px;
}
@media all and (min-width: 992px) {
    body.front #sideMenu {
        background-color: #fff;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        height: 100%;
        position: relative;
    }
    body.front #sideMenu .my-scrollbar {
        scrollbar-color: var(--shop-color-2) white;
        scrollbar-width: thin;
        max-height: 100%;
        overflow-y: auto;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        bottom: 0;
    }
    body.front #sideMenu:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        height: 50px;
        background: rgba(255,255,255,0.3);
        background: -moz-linear-gradient(top, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.9) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0.3)), color-stop(100%, rgba(255,255,255,0.9)));
        background: -webkit-linear-gradient(top, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.9) 100%);
        background: -o-linear-gradient(top, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.9) 100%);
        background: -ms-linear-gradient(top, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.9) 100%);
        background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.9) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0 );
        transition: height .25s ease;
        z-index: 1;
    }
    body.front #sideMenu:hover:after {
        height: 5px;
    }
}
/* Let's get this party started */
*::-webkit-scrollbar {
    width: 12px;
}
/* Track */
*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px var(--gray-base);
    -webkit-border-radius: 0px;
    border-radius: 0px;
}
/* Handle */
*::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 0px;
    background: var(--shop-color-2);
}
*::-webkit-scrollbar-thumb:window-inactive {
    background: var(--shop-color-2);
}

#sideMenu .categories_list {;
    margin: 0;
    padding: 0 10px;
}
#sideMenu .categories_list li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
}
.categories_list li:not(:last-of-type) {
    border-bottom: var(--gray-lighter) solid 1px;
}
#sideMenu .categories_list li a {
    padding: 5px 0;
}
#sideMenu .categories_list ul {
    padding-left: 50px;
    width: 100%;
}
#sideMenu .categories_list li img {
    margin-right: 15px;
}
#side_menu ul li .cat_btn {
    cursor: pointer;
    height: 20px;
    text-align: center;
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}
#side_menu ul li img.cat_btn {
    object-fit: none;
    object-position: center
}
#side_menu ul li.open > .cat_btn_box .cat_open_btn,
#side_menu ul li.closed > .cat_btn_box .cat_close_btn {
    display: none
}
.section-carousel .item {
    background-color: var(--gray-base);
    border-radius: var(--border-radius);
}
.carousel-caption {
    background-color: #141a30b2;
    border-radius: var(--border-radius);
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    padding: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px 30px;
    height: 100px;
}
.carousel-caption .title {
    flex: 1 1 100%;
    font-size: var(--font-h3);
    margin: 0;
    text-align: left;
}
@media all and (max-width: 767px) {
    .carousel-caption {
        background-color: var(--gray-base);
        position: static;
        height: auto;
    }
    .carousel-indicators {
        bottom: calc(100% - 44.444vw - -15px) !important;
    }
}
@media all and (min-width: 768px) {
    .carousel-caption {
        padding: 25px;
    }
    .carousel-caption .title {
        max-width: 440px;
    }
}
@media all and (min-width: 1300px) {
    .carousel-caption {
        padding: 25px 40px;
    }
    .carousel-caption .title {
        max-width: 500px;
    }
}
.carousel-caption .link {
    flex: 1;
    max-width: 230px;
}
.carousel-caption .link .btn {
    background-color: var(--shop-color);
    width: 100%;
}
.carousel-indicators {
    bottom: 140px;
    left: 15px;
    margin: 0;
    width: auto;
}
@media all and (min-width: 768px) {
    .carousel-indicators {
        left: 25px;
    }
}
@media all and (min-width: 1300px) {
    .carousel-indicators {
        left: 40px;
    }
}
.carousel-indicators li {
    background-color: #141a30b2;
    border: none !important;
    border-radius: var(--border-radius);
    width: 15px !important;
    height: 30px !important;
    margin: 0 !important;
}
.carousel-indicators li.active {
    background-color: var(--shop-color);
}
#blocks-item-1 .block-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 30px;
}
#blocks-item-1 .block-content .title {
    color: var(--shop-color);
    font-size: var(--font-h2);
    font-weight: 900;
    text-transform: uppercase;
}
@media all and (min-width: 992px) and (max-width: 1299px) {
    #blocks-item-1 .block-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        width: 80%;
    }
    #blocks-item-1 .block-content img {
        height: 80px;
        object-fit: none;
        object-position: center;
    }
}
@media all and (min-width: 1300px) {
    #blocks-item-1 .block-content {
        margin: 0 auto;
        width: 70%;
    }
}
.product-container .more-info {
    margin: 0 15px;
    transform: translateY(50%);
}
@media all and (max-width: 439px) {
    .product-container .more-info {
        padding-bottom: 5px;
        padding-top: 5px;
    }
}
#block-item-2 .title {
    font-size: var(--font-h1);
    font-weight: 900;
    margin-bottom: var(--main-block-padding-sm);
    margin-top: 0;
}
#block-item-2 .text-content {
    line-height: 2.5;
}
.section-title {
    font-size: var(--font-h1);
    font-weight: 900;
    margin-bottom: var(--main-block-padding-md);
    margin-top: 0;
}
.news-list .right {
    flex: 1;
}
.news-list header {
    margin-bottom: 10px;
}
.news-list header .title a {
    color: var(--gray-base);
}
.news-list header time {
    font-size: var(--font-xsmall);
    font-weight: 600;
}
#footer-contact-form .form-control {
    background-color: var(--gray);
    border: none;
    color: #fff;
}
.add-to-favourites:hover img,
.remove-from-favourites:not(:hover) img {
    filter: brightness(0) invert(1);
}
.add-to-cart img {
    filter: brightness(0) invert(1);
}
.product-images {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.product-images .item > a > img {
    margin: 0 auto;
}
.product-control-bar a {
    color: var(--gray-base);
}
#content-page-bottom {
    background-color: var(--gray-lighter);
    border-top: #fff solid 10px;
    padding-bottom: var(--main-block-padding);
    padding-top: var(--main-block-padding);
}
.slider-arrow-box .slick-arrow {
    background-color: var(--shop-color);
    border-radius: var(--border-radius);
    height: 50px;
    object-fit: none;
    object-position: center;
    width: 50px;
}

#map{
    height: 600px;
    width: 100%;
    margin: var(--main-block-padding) 0;
}
@media all and (max-width: 768px) {
    #map{
        max-height: 45vh;
    }
}
.my-table tr > td {
    font-weight: 600;
    padding: 2px 0;
}
.my-table tbody > tr:first-of-type td {
    border-top: var(--gray-light) solid 1px;
    padding-top: 7px;
}
.my-table tbody > tr:last-of-type td {
    border-bottom: var(--gray-light) solid 1px;
    padding-bottom: 7px;
}
.my-table tr > td:last-of-type {
    color: var(--shop-color);
    text-align: right;
    padding-left: 15px;
}
#blocks-item-3 .title {
    color: var(--shop-color);
    font-weight: 900;
    margin: 0;
}
#blocks-item-3 .text {
    min-width: 70%;
}
#blocks-item-3 .text p:last-of-type {
    margin-bottom: 0;
}
.col-gap-10 {
    column-gap: 10px;
}
.row-gap-5 {
    row-gap: 5px;
}
body.product .product-datas .price-label-1 {
    background-color: #a6a6a6;
    border-radius: var(--border-radius-s);
    font-weight: 700;
    padding: 2px 8px;
    white-space: nowrap;
}
body.product .product-datas .price-label-2 {
    background-color: #ffde59;
    border-radius: var(--border-radius-s);
    font-weight: 700;
    padding: 2px 8px;
    white-space: nowrap;
}
body.product .product-datas .price-label-3 {
    background-color: #7ed957;
    border-radius: var(--border-radius-s);
    font-weight: 700;
    padding: 2px 8px;
    white-space: nowrap;
}
@scope (ul.nav) {
    :scope > li > a[title="Katalógus"] {
        background-color: var(--shop-color) !important;
        border: var(--shop-color) solid 1px;
        color: var(--gray) !important;
        display: inline-block;
        transition: border-color 0.15s ease;
    }
    :scope > li:not(.active) > a[title="Katalógus"]:hover,
    :scope > li.active > a[title="Katalógus"] {
        border: #fff solid 1px;
    }
    :scope.navbar-nav > li > a[title="Katalógus"] {
        border-radius: 5px;
        font-weight: 700;
        margin-top: 10.5px;
        padding: 3px 9px;
    }
}
#footer-menu ul.nav > li > a[title="Katalógus"] {
    border-radius: 5px;
    font-weight: 700;
    margin-bottom: 8px;
    padding: 3px 9px;
}
@scope (#mobile-menu-dropdown) {
    :scope {
        background-color: var(--gray-base) !important;
        margin: 0 -15px !important;
    }
    li:not(.active) > a:not([title="Katalógus"]) {
        color: #fff !important;
    }
    :scope > li > a[title="Katalógus"] {
        margin-left: 15px;
    }
}
caption {
    color: #000;
}
/*
//#113 - css
 */
.quantity_discount {
    background-color: #eaeaea;
    border-radius: var(--border-radius-s);
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 15px;
    width: 100%;
}
.custom-tooltip {
    background-color: #000;
    border-radius: 50rem;
    color: #fff;
    font-weight: 700;
    position: relative;
    display: inline-block;
    cursor: help;
}
.custom-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    right: 0;
    width: max-content;
    max-width: 250px;
    white-space: normal;
    word-wrap: break-word;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 1000;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}
.custom-tooltip::before {
    content: "";
    position: absolute;
    bottom: 125%;
    right: 50%;
    margin-bottom: -10px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50%);
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.custom-tooltip:hover::after,
.custom-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}