body.overflow-hidden {
    overflow: hidden;
}

.product-unavailable ~ .pro_cart_block .pro_cart_right {
    width: 100%;
}

.product-unavailable ~ .pro_cart_block .pro_cart_right .flex_box {
    width: 100%;
}

.product-unavailable ~ .pro_cart_block .order-request {
    width: 100%;
    text-align: center;
}

.product-unavailable ~ .pro_cart_block .order-request__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
	padding-top: 10px;
}

.order-request__text {
    font-size: 12px;
}

.order-request__button {
    background-color: #FCC127;
    border-color: #FCC127;
    border-radius: 10px;
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
    padding: 10px 25px;
    transition: .3s;
}

.order-request__button:hover {
    background: #444!important;
    border-color: #444!important;
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.custom-modal-content {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fff;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    height: 90vh;
    max-height: max-content;
    overflow: auto;
}

.custom-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.orderrequest-form__header {
    display: block;
    font-size: 20px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.orderrequest-form__info {
    font-size: 12px;
}

.orderrequest-form__errors {
    color: #fb0707;
}

.orderrequest-form__success {
    color: #00a633;
}

.orderrequest-form label {
    background: none;
    color: #202020;
    font-size: 13px;
    font-weight: 400;
    margin: 0 0 5px;
    padding: 0;
    text-align: left;
}

.orderrequest-form label.gdpr-label {
    display: flex;
    margin-top: 10px;
}

.orderrequest-form label.gdpr-label div.checker span {
    top: 2px;
}

.orderrequest-form input,
.orderrequest-form textarea {
    border: 1px solid #202020;
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    box-sizing: border-box;
}

.orderrequest-form .submit-btn {
    display: block;
    background-color: #007cba;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    margin-top: 10px;
    margin-left: auto;
    padding: 10px 16px;
    transition: .3s;
}

.orderrequest-form .submit-btn:hover {
    background-color: #005fa3;
}

.orderrequest-form.sended input,
.orderrequest-form.sended label,
.orderrequest-form.sended textarea,
.orderrequest-form.sended button {
    display: none;
}

.fororder-label {
    color: white;
    background: #13725F;
    border-radius: 20px;
    font-weight: 400;
    border: none;
    font-size: 12px;
    margin-top: 5px;
    height: 30px;
    padding: 8px 12px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* OrderRequest (PS 8) — hide default add-to-cart when request button is visible */
.product-add-to-cart.orderrequest-hidden {
    display: none !important;
}

/* --- OrderRequest: naprawa modala w Pandzie --- */

/* Sam modal – na wierzch wszystkiego */
#orderRequestModal {
    z-index: 10550 !important;
}

/* Środek modala */
#orderRequestModal .modal-dialog,
#orderRequestModal .modal-content {
    z-index: 10560 !important;
}

/* Tło (przyciemnienie) – pod modem */
.modal-backdrop {
    z-index: 10500 !important;
	position: relative!important;
}

