/*kuba opravy*/
@media (width <= 767px) {
    body.type-category #category-header form {
        display: flex; /*filtrovat produkty v podkategorii - zarovnání tlačítek Filtrova/seřadit*/
        align-items: center;
    }
    
  	body.type-category a#aOpenFiltr {
    line-height: 19px;
}

span.product-appendix {
    display: block; /*doplněk názvu produktu na samostatný řádek*/
    padding-top: 6px !important;
}

.products-block>.product .p .p-in .p-in-in .name {
    height: auto; /*výška se přizpůsobuje obsahu*/
    overflow: visible;
    display: block;
    margin-bottom: 15px;
    /*když byl dlouhý název nešel vidět appendix*/
}

    body.bdFilterOpen #filters-wrapper>.filters-wrapper {
        width: 100%; /*plná šířka filtrů na mobilu*/
    }
    
        body.bdFilterOpen #filters-wrapper>.filters-wrapper a.close-modal {
        border: 3px solid #ff0000;
        top: 39px;
    }
    
    #content #filters h4.h4F:after, #filters-wrapper #filters h4.h4F:after {
    float: right; /*plusko ve filtrech zarovnaní vpravo*/
}

    
        body.type-product .dvDetKnt .ikonyAkci .social-buttons-wrapper .link-icons a.link-icon {
        flex: 0 25%;
        font-weight: 500;
    }

}



/*rychlý fix kuba - Vlada upravit*/
body.ordering-process #checkoutSidebar {
    right: 0;
    position: relative !important;
}
@media (max-width: 1080px){
.next-step {
    align-items: center;
    flex-direction: column-reverse!important;
    justify-content: space-between;
}}

.next-step .btn.btn-lg {
    padding: 10px 50px;
}

body.ordering-process #checkoutSidebar {
    right: 0;
    position: relative !important;
    top: 0px !important;
}



/*Sleva % TAG*/
.discount-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: fit-content;
    z-index: 10;
    pointer-events: none;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
}
body.type-category .discount-badge {
    transform: scale(0.8);
    transform-origin: bottom right;
}

@media (max-width: 640px){
body.type-detail .discount-badge {
    transform: scale(0.8);
    transform-origin: bottom right;
    bottom:2px;
}

body.type-category .discount-badge {
    transform: scale(0.7);
    transform-origin: bottom right;
  }

}

/* Obal pro oba pruhy – STACK */
.discount-badge > div {
  transform: skew(-15deg);
  margin: 0;
}

/* Černý horní pruh */
.discount-badge .label {
    background: black;
    color: white;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Avenir Black Oblique', sans-serif;
    width: 147px;
    padding: 5px 0px 30px 0px;
    display: inline-block;
    margin-bottom: -6px;
    z-index: 1;
    position: relative;
    top: 24px;
    left: -3px;
    text-align: center;
}

/* Červený spodní pruh */
.discount-badge .value {
    background: #ed1d24;
    color: white;
    font-size: 34px;
    font-weight: bold;
     font-family: 'Bebas Neue', sans-serif;
    padding: 4px 16px;
    z-index: 2;
    position: relative;
    line-height: 1;
    display: flex;
    justify-content: center;
    gap: 2px;
    padding-top: 8px;
}

/* Menší vyvýšené % */
.discount-badge .percent {
  font-size: 26px;
  vertical-align: super;
  margin-left: 4px;
  margin-top: 2px;
}

.discount-badge .az-inline {
    font-size: 23px;
    font-weight: 500;
    text-transform: lowercase;
    margin-right: 2px;
    position: relative;
    top: 9px;
    right: 7px;
}