.cut-length input {
    min-height: 36px;
    width: 100%;

    border: 1px solid #919191;
}

.cut-length td {
    position: relative;
}


.cut-length td:has(input)::after {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    content: "mm";
    position: absolute;
    right: 0;
    height: 36px;
    width: 36px;

    background-color: var(--color-primary);
    color: #fff;
}

.cut-length input {
    padding-right: 44px;

    text-align: right;
    color: #000;
    font-size: 16px;

    -moz-appearance: textfield;
}

.cut-length input[type="number"]::-webkit-outer-spin-button,
.cut-length input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.myquantity .quantity {
    position: relative;
    width: 100%;
    padding-right: 44px;

    text-align: right;
    font-size: 16px;
    font-weight: 400;
    border-radius: 0;
    color: #000;
}

.myquantity .quantity::after {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    content: "szt.";
    position: absolute;
    right: 0;
    height: 36px;
    width: 36px;

    background-color: var(--color-primary);
    color: #fff;
}

.myquantity .quantity input {
    height: 36px;
    width: 100%;

    font-family: var(--template-font);
}

.myquantity .quantity:hover .decrease, .myquantity .quantity:hover .increase {
    opacity: 1;
}

.myquantity .quantity .decrease, .myquantity .quantity .increase {
    height: 18px;
    left: 0;
    opacity: 0;

    background-color: var(--color-primary);
    color: #fff;
    border: none;
    transition: opacity ease 300ms;
}

.myquantity .quantity .decrease {
    border-radius: 0 0 0 4px;
    top: auto;
    bottom: 0;
}

.myquantity .quantity .increase {
    border-radius: 4px 0 0 0;
}

.p-info-wrapper .detail-parameters select {
    height: 36px;
    background-image: url("/user/documents/upload/kodovani/select-dropdown.svg?v=1");
    background-size: 36px;
    background-position: right center;
    cursor: pointer;
}

.mytooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    position: relative;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    top: -2px;

    background-color: var(--color-primary);
    border-radius: 50%;
    color: #fff;
    line-height: 12px;
    font-size: 12px;
    cursor: pointer;
}

.mytooltip span {

    margin-top: 2px;
    line-height: 1;
    font-size: 12px;
}

.mytooltip:hover .mytooltip-content {
    display: block;
    opacity: 1;
}

.mytooltip-content {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    width: 240px;
    padding: 4px;
    background-color: #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity ease 300ms;
}

.mytooltip-content::after {
    content: "";
    position: absolute;
    bottom: -12px; /* posune šipku pod tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #000 transparent transparent transparent; /* černá šipka nahoru */
}

.detail-parameters th {
    color: #000;
}

.p-info-wrapper .detail-parameters {
    max-width: 100%;
}

.p-info-wrapper .my-add-to-cart {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 16px;

    background-color: #f5f5f5;
    max-width: 390px;
}

.product-buttons {
    margin-bottom: 20px;
}

.price-final-wrap, .price-additional-wrap, .price-measure-wrap {
    display: flex;
    align-items: baseline;
    column-gap: 12px;

    max-width: 390px;
    font-size: 16px;
    color: #000;
}

.price-measure {
    margin-top: 0;
}

.price-final-wrap .price-final, .price-additional-wrap .price-additional, .price-measure-wrap .price-measure {
    font-size: 16px;
    color: #000;
    font-weight: 400;
}

.price-additional-wrap .price-additional-holder {
    font-size: 0;
}

.price-additional-wrap .price-additional-holder span {
    font-size: 16px;
}


.myprice-label {
    flex-grow: 1;
}

.myprices {
    display: flex;
    flex-direction: column;
    row-gap: 8px;

    width: 100%;

    font-size: 16px;
    color: #000;
}

.myprices > div:has(.price-name) {
    display: flex;
    column-gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.cut-price {
    color: #adacac;
}

.myprices-availability {
    display: flex;
    column-gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.myprices-availability .availability-value {
    margin: 0;
}

.myprices-availability .availability-value .availability-amount {
    display: none;
}

.myprices-availability .availability-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.myprices-availability .availability-value {
    line-height: 1.384615;
    font-size: 16px;
}

.my-add-to-cart button {
    margin-top: 24px;
    margin-left: auto;
}

.price-per-meter strong {
    font-size: 32px;
}

.price-per-meter .price-name {
    font-weight: 700;
}

.price-with-dph .price-name {
    font-weight: 700;
}

.myprices-availability > span {
    font-weight: 700;
}

.bought {
    width: 100%;
    margin-top: 20px;

    color: #000;
}

.bought h4 {
    font-weight: 700;
    color: #000;
    text-align: center;
}

.bought table {
    width: 100%;
}

.bought table th {
    padding: 4px;

    background-color: #e8e8e8;
    text-align: left;
}

.bought table td {
    padding: 4px 9px;

}

.bought table tr:nth-child(odd) td {
    background-color: #e8e8e8;
}

.bought .remove-me {
    text-align: center;
}

.bought td.remove-me {
    cursor: pointer;
}

.order-info-banner {
    margin: 20px 10px;
    padding: 8px 16px;

    border: 1px solid var(--color-primary);
    color: #000;
    font-weight: 700;

    text-align: center;
}