.product-top .p-info-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.product-top .p-info-wrapper > * {
    width: 100%;
}

.product-top .p-info-wrapper > .p-final-price-wrapper {
    order: -5;
}
.product-top .p-info-wrapper > .availability-value {
    order: -4;
}
.product-top .p-info-wrapper > .p-short-description {
    order: -3;
    font-size: 90%;
}
.product-top .p-info-wrapper > p {
    order: -2;
    margin: 10px 0px 0px 0px;
}

.p-info-wrapper .p-final-price-wrapper {
    background: #f4f4f4;
    padding: 10px 12px 10px 12px;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
}
.p-info-wrapper .price-final {
    order: -1;
    margin-right: 10px;
}
.p-info-wrapper .price-standard > span.empty, .p-info-wrapper .price-save > span.empty {
    display: none;
}
.p-info-wrapper .price-measure {
    margin-top: 2px;
}
.availability-value {
    font-size: 18px;
}

.product-top .p-info-wrapper > .p-final-price-wrapper {
    width: 50%;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.type-detail .availability-amount {
    white-space: nowrap;
    margin-left: 6px;
}
.product-top .p-info-wrapper > .availability-value {
    width: 50%;
    border: 1px solid #f4f4f4;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    padding: 0px 15px 0px 40px;
    text-transform: uppercase;
    font-weight: 700;
}
.product-top .p-info-wrapper > .availability-value:before {
  position:absolute;
  height: 0;
  top: 50%;
  // transform:scaleY(-1);
  max-width: 300%;
  border-right: 500px solid #f4f4f4;
  border-bottom: 1000px solid transparent;
  content: "";
  left: 30px;
  border-radius:0;
  transform: scaleX(-1) translateX(100%);
} 
.product-top .p-info-wrapper > .availability-value:after {
  position:absolute;
  height: 0;
  top: 50%;
  transform:scaleY(-1) scaleX(-1) translateY(100%)     translateX(100%);
  max-width: 300%;
  border-radius:0;
  border-right: 500px solid #f4f4f4;
  border-bottom: 1000px solid transparent;
  content: "";
  left: 30px;
}

.type-detail .detail-parameters {
    transition: opacity 350ms;
}

.product-top .p-short-description ul, #description ul {
    margin: 25px 0px 15px 0px;
    padding: 0px;
    list-style-type: none !important;
}
.product-top .p-short-description ul li, #description ul li {
    margin: 0px 0px 4px 0px;
    padding-left: 23px;
    position: relative;
    color: black;
}
.product-top .p-short-description ul li:before, #description ul li:before {
    font-family: 'shoptet';
    content: '\e913';
    font-size: 11px;
    color: black;
    position: absolute;
    left: 5px;
    top: 3px;
}

.p-detail-info {
    text-transform: uppercase;
    font-size: 90%;
}
.p-detail-info>div+div::before {
    padding: 0 10px;
}
.type-detail .p-detail-info .p-code::before {
    content: '|';
    display: inline-block;
    padding: 0 10px;
    font-size: 14px;
    color: #dadada;
}

.p-image .p-main-image img {
    opacity: 0;
    transition: opacity 350ms;
}
.p-image.show-main-image .p-main-image img {
    opacity: 1;
}

.type-detail button.btn.btn-conversion.add-to-cart-button {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.link-icon {
    margin: 0px;
    padding: 0px;
    margin-right: 19px;
}
.link-icon::before {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 15px;
    margin-right: 5px;
}

.product-top {
    margin-bottom: 10px;
}

.stars .star.is-active:hover {
    color: #f7be24;
}
.stars .star.star-on::before, .stars .star.star-half::before {
    color: #7fa3c5;
}

.detail-parameters th {
    font-weight: 700;
    width: 1px;
    white-space: nowrap;
    color: black;
}
.detail-parameters tr.variant-list > th {
    display: none;
}
.advanced-parameter {
    margin: 6px 12px 6px 0px;
}
.p-info-wrapper .detail-parameters {
    margin: 15px 0px 0px 0px;
}

#myBtnTabulka_velikosti {
    width: auto;
    margin-top: 10px;
    color: black;
    padding: 0px;
    box-shadow: none;
    transition: 350ms;
}
#myBtnTabulka_velikosti:hover {
    color: #eb3b84;
    box-shadow: none;
    background: white;
}

#content .extended-description h3 {
    margin-top: 40px;
    color: #7fa3c5;
}
.extended-description td, .extended-description th {
    border-bottom: 1px solid #e1e1e1;
    padding: 8px 20px 8px 0px;
}
.extended-description tr:nth-last-of-type(1) td, .extended-description tr:nth-last-of-type(1) th {
    border-bottom: 0px;
}

.basic-description *, .p-short-description * {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 14px !important;
}
.basic-description td, .p-short-description td {
    padding: 3px 5px !important;
}

.basic-description {
    padding-top: 40px;
}
.basic-description hr {
    border: 0px;
    border-top: 1px solid #b0b0b0;
    margin: 60px 0px;
}
.basic-description > h3:nth-of-type(1) {
    display: none;
}

.shp-tab-link {
    color: black;
    font-weight: 700;
}
.active .shp-tab-link {
    color: black;
}

.p-info-wrapper .add-to-cart {
    margin-top: 15px;
}

#content .p-detail {
    display: flex;
    flex-direction: column;
}
#content .p-detail .products-related-header {
    order: 30;
    margin: 0px 0px 10px 0px;
}
#content .p-detail .products-related.products-additional {
    order: 31;
}
#content .p-detail .browse-p {
    order: 32;
}

.shp-tabs-row a[href$="#productsAlternative"] {
    display: none !important;
}
#tab-content {
    display: flex;
    flex-direction: column;
}
#productsAlternative {
    display: block !important;
    opacity: 1 !important;
    order: 99;
    margin-left: 20px;
    margin-right: 20px;
}
#productsAlternative:before {
    content: 'Podobné produkty';
    color: #7fa3c5;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-top: 30px;
    display: block;
    margin-bottom: 10px;
}

.container-advantage, .waltz-advantage, .techno-advantage, .tango-advantage, .step-advantage, .classic-advantage {
    order: 39;
}

.relatedWrapper .products-block.products div.product {
    padding: 10px;
}
.relatedWrapper .products-block.products div.product .flags, .relatedWrapper .products-block .p-code {
    display: none;
}
.relatedWrapper .products-block.products .p .name {
    overflow: hidden;
    font-size: 13px;
    height: auto;
}
.relatedWrapper .products-block.products .p .price strong, .relatedWrapper .products-block.products .p .price span {
    font-size: 15px;
}
.relatedWrapper .products-block.products .p .price span.price-standard > span {
    text-decoration: none;
    font-size: 10px;
}
.relatedWrapper .products-block.products div.product:hover .p-bottom .p-desc, .relatedWrapper .products-block.products div.product:hover .p-tools {
    display: none;
}

.detailTopIcons {
    margin: 5px 0px 20px 0px;
}
.detailTopIcons .topIcon {
    margin: 0px 25px 10px 0px;
    display: inline-block;
}
.detailTopIcons .topIcon img {
    height: 40px;
    cursor: help;
}

.detailPictograms {
    margin: 5px 0px 20px 0px;
}
.detailPictograms .picto {
    margin: 0px 25px 20px 0px;
    display: inline-block;
}
.detailPictograms .picto img {
    height: 80px;
    cursor: help;
}

.relatedWrapper {
    position: relative;
}
.relatedWrapper .browse-p {
    position: static;
}
.relatedWrapper .browse-p .p-prev, .relatedWrapper .browse-p .p-next {
    top: 50% !important;
}

@media (min-width: 992px) { 
    .browse-p .p-prev {
        left: -10px;
    }
    .browse-p .p-next {
        right: -10px;
    }
}
@media (min-width: 1200px) { 
    .type-detail .p-detail-inner-header {
        margin-left: 50%;
        padding-left: 20px;
    }
    .type-detail .p-detail-info {
        margin-left: 50%;
        padding-left: 20px;
    }
    .type-detail .p-image-wrapper {
        margin-top: -90px;
    }
    .product-top .p-info-wrapper {
        margin-top: -10px;
    }

    .extended-description th {
        white-space: nowrap;
    }
}

@media (max-width: 767px) { 
    .relatedWrapper .products-block.products div.product {
        width: 50%;
    }
    #productsAlternative:before {
        margin: 30px 20px 10px 20px;
    }
    #productsAlternative {
        margin-left: 0px;
        margin-right: 0px;
    }
    .detailTopIcons .topIcon {
        margin-right: 15px;
    }
    .detailTopIcons .topIcon img {
        height: 34px;
    }
}
