.box.box-sm.box-filters,
.filter-sections {
    background-color: #F5F0EA !important;
}

.sidebar-inner>div {
    border-color: transparent !important;
}

.sidebar input[type=checkbox]+label:before,
input[type=radio]+label:before {
    border-radius: 0px;
}

.sidebar-banner .banner-email a {
    color: white;
}

#clear-filters,
.toggle-filters {
    text-transform: math-auto !important;
}

.filter-label {
    font-size: 14px !important;

}


.ui-slider-handle {
    background-color: white !important;
    border: #c4c4c4 1px solid;
}

/* Three vertical bars inside the slider handle */
.ui-slider-handle {
    position: relative;
}
.ui-slider-handle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 60%;
    background-color: #439c8c;
    transform: translate(-50%, -50%);
    border-radius: 1px;
    box-shadow: -4px 0 0 0 #439c8c, 4px 0 0 0 #439c8c;
    pointer-events: none;
}

.ui-slider-horizontal .ui-slider-range {
    height: 100%;
    top: 0;
    max-height: 5px !important;
    top: 2px;
}

.slider-content,
.ui-slider {
    background-color: transparent !important;

}

#filters .slider-wrapper {
    border-bottom: 1px solid #c4c4c4;
    margin-bottom: 15px;
}


#filters .slider-wrapper-content {
    margin-bottom: 5px;
}

#filters .slider-wrapper {
    padding: 0px !important;
}

#filters .slider-wrapper {
    font-family: "Source Sans 3", sans-serif;
    ;
}

#filters h3 {
    font-weight: 600;
    font-size: 18px;
    font-family: "Source Sans 3", sans-serif;
}

#filters .slider-wrapper h4 {
    color: #439c8c;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.filter-sections h4 {
    color: #439c8c;
    font-size: 14px !important;
    font-weight: 600;
    cursor: pointer;
}

.slider-wrapper {
    display: grid;
}


.slider-header {
    order: 2;
    font-weight: 600;
}


.filter-sections .filter-section.filter-section-boolean {
    margin-top: -15px;
}

.filter-total-count,
.sidebar .filter-label .filter-count {
    display: none;
}

input[type=checkbox]:checked+label:after,
input[type=radio]:checked+label:after {
    background-color: #439c8c !important;
    border-color: #fff;
}

.collapse-arrow {
    transition: transform 0.3s ease;
    color: #439c8c;
    margin-top: 5px;
}

h4 {
    position: relative;
    padding: 10px 0;
    margin-bottom: 10px;
}

.box-categories {
    background-color: #F5F0EA !important;
    padding: 15px 20px 20px;
    margin-top: 40px;
}

.categories .topic a {
    font-size: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.category-perex
{
    border-bottom: 1px solid #c4c4c4;
    margin-bottom: 40px !important;
    padding-bottom: 20px !important
}

.subcategories
{
    border-bottom: 1px solid #c4c4c4 !important;
    padding-bottom: 40px !important;
    margin-bottom: 40px !important;
}

.expandable.external>a>span {
    margin-left: 25px;
}

#categories .expandable.expanded>ul li {
    font-size: 14px;
}

.sidebar .banner-wrapper {
    background-color: #439c8c;
}


.box-categories
{
    overflow: hidden;
}
.sidebar-banner {
    background-color: #439c8c;
    padding: 30px 20px;
    text-align: center;
    max-width: 300px;
    margin: 20px auto 0;
    color: white;
}
#categories .expandable>.topic>a>span:before
{
     background-image: url("https://705813.myshoptet.com/user/documents/upload/Kategorie, podkategorie/right.svg") !important;
     content: "" !important;
      margin-top: -15px !important;
}
#categories .expandable.expanded>.topic>a>span:before {
    content: "" !important;
 display: inline-block;
 width: 12px;
 height: 12px;
 background-image: url("https://705813.myshoptet.com/user/documents/upload/Kategorie, podkategorie/down.svg") !important;
 background-size: contain;
 background-repeat: no-repeat;
 background-position: center;
 transition: transform .3s ease-out;
 vertical-align: middle;
 margin-left: 0px !important;
 margin-top: -15px !important;
 position: static;
 transform: rotate(0deg);
}

#categories .expandable>a>span:before  {
    content: "" !important;
 display: inline-block;
 width: 10px;
 height: 10px;
 background-image: url("https://705813.myshoptet.com/user/documents/upload/Kategorie, podkategorie/down.svg") !important;
 background-size: contain;
 background-repeat: no-repeat;
 background-position: center;
 transition: transform .3s ease-out;
 vertical-align: middle;
 margin-left: -24px !important;
 margin-top: -15px !important;
 position: static;
 transform: rotate(0deg);
}

#categories .expandable.expanded>a>span:before
{
 background-image: url("https://705813.myshoptet.com/user/documents/upload/Kategorie, podkategorie/right.svg") !important;
 margin-right: -50px;
}

.categories.expandable ul {
    padding-left: 20px;
}
.categories.expandable ul ul ul 
{
    padding-left: 12px;
}
.categories ul a {
    padding-left: 30px !important;
}
.categories.expandable ul ul .cat-trigger 
{
   display: none !important;
}

.categories.expandable ul ul 
{
    padding-left: 12px;
}

.categories.expandable ul ul ul 
{
    padding-left: 12px;
}

.categories.expandable ul ul ul 
{
    padding-left: 12px;
}
.banner-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: block;
}

.banner-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.banner-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1;
}

.banner-title .line1 {
    display: block;
    margin-bottom: 5px;
}

.banner-title .line2 {
    display: block;
}

.banner-question {
    margin-bottom: 20px;
    line-height: 1.3;
    font-size: 18px;
}

.banner-email {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.email-icon {
    width: 18px;
    height: 19px;
    margin-right: 8px;
}

.banner-button {
    background-color: #F0EAE0;
    color: #000;
    border: none;
    max-width: 175px !important;
    padding: 7px 15px !important;
    line-height: 1.3;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-top: -5px;
    min-height: 40px;
    align-content: center;
    text-align: center;
    min-width: 170px
}

.banner-button:hover {
    background-color: #E5DDD0;
}

/* Responsive design */
@media (max-width: 768px) {
    .sidebar-banner {
        max-width: 100%;
        margin: 10px;
        padding: 20px 15px;
    }

    .banner-title {
        font-size: 20px;
    }
}

input[type="checkbox"]:checked+label::before,
input[type="radio"]:checked+label::before {
    background-color: #439c8c !important;
    border: transparent;
}

.filter-section label.active {
    font-weight: 400 !important;
}


.subcategories .col-xs-6 
{
    border: 1px solid #c4c4c4;
}

.subcategories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0 0 22px;
    padding: 0;
}

/* tablet - max 3 na řádku */
@media (max-width: 992px) {
    .subcategories {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* mobil - max 2 na řádku */
@media (max-width: 576px) {
    .subcategories {
        grid-template-columns: repeat(2, 1fr);
    }
    .subcategories li a {
        padding: 0 0px 0 0px;
    }
}


.subcategories.with-image li {
    padding: 13px 0;
    width: -webkit-fill-available;
}
.products-inline>div .p .p-in .p-in-in .name {
    font-weight: 600;
}
.toggle-top-products
{
    color: #439c8c;
    text-decoration: underline;
}
.products-top {
    margin-bottom: 50px;
}

#productsTop .button-wrapper
{
    margin-top: 20px;
}

.active.expanded > li a
{
    font-weight: 500
}
.categories ul a {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    position: relative;
}
.products-block .product {
    box-shadow: none !important;
    padding: 3px 0px !important;
}
@media (min-width: 992px) {
    .products-top .product{
        width: 100% !important;
        border-bottom: 1px solid #c4c4c4 !important;
        padding-bottom: 10px !important;
    }
    .products-inline.products-top>div .p .p-in .p-bottom>div {
    width: fit-content;
}
.products-inline.products-top>div .p .p-in {
    display: flex !important;
    justify-content: space-between;
}
    .products-inline>div .p .p-in .p-bottom {
        flex-basis: inherit;
    }
    .products-inline.products-top>div .p {
    width: -webkit-fill-available;
}
}
#category-header
{
    margin-bottom: 20px;
}
.load-products
{
    font-weight: 400 !important;
    text-transform: uppercase !important;
}
/* Horizontální navigační lišta pro řazení produktů */
.products-sorting-bar {
    display: flex;
    border: 1px solid #c4c4c4;
    border-radius: 0;
    margin: 20px -10px;
    background-color: #F5F0EA;
    overflow: hidden;
    width: -webkit-fill-available;
}

.products-sorting-bar .sorting-option {
    flex: 1;
    background-color: #F5F0EA;
    border: none;
    border-right: 1px solid #c4c4c4;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: block;
}

.products-sorting-bar .sorting-option:last-child {
    border-right: none;
}

.products-sorting-bar .sorting-option.active {
    background-color: white;
    color: #439c8c;
    font-weight: 600;
}

.products-sorting-bar .sorting-option:hover:not(.active) {
    background-color: #E8E0D5;
}

/* Skrytí původního dropdown menu */
.products-sorting-bar + .dropdown,
.products-sorting-bar ~ .dropdown {
    display: none !important;
}

/* Responzivní design pro sorting bar */
@media (max-width: 768px) {
    .products-sorting-bar {
        flex-direction: column;
    }
    
    .products-sorting-bar .sorting-option {
        border-right: none;
        border-bottom: 1px solid #c4c4c4;
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .products-sorting-bar .sorting-option:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .products-sorting-bar .sorting-option {
        padding: 8px 4px;
        font-size: 12px;
    }
}

/* Styly pro číslovky produktů v sekci "Nejprodávanější" */
.products-top .product {
    position: relative;
}
.products-inline.products-top>div .p {
    margin-left: 30px;
}
.products-top .product::before {
    content: attr(data-rank);
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #000;
}
.product.revealed:before
{
    display: none !important;
}
/* Responzivní úpravy pro číslovky */
@media (max-width: 768px) {
    .products-top .product::before {
        left: -35px;
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .products-top .product::before {
        left: -30px;
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}