/* Poznet Cena na zapytanie - hide cart controls, style inline inquiry form */

/* Hide buy controls on price-on-request products (mirrors fakturownia) */
.product-actions .product-quantity,
.product-actions .product-add-to-cart,
.product-actions .product-minimal-quantity,
.product-actions #product-availability,
.product-actions .product-discounts {
    display: none !important;
}

.cnz-on-request {
    font-weight: 700;
    color: #060735;
}

/* "Na zamowienie" badge - shown next to the (still visible) catalog price */
.cnz-onorder-badge {
    display: inline-block;
    margin: 6px 0;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #1b7a3d;
    background: #e6f6ec;
    border: 1px solid #bfe6cd;
    border-radius: 4px;
}

/* Note under the price: "cena katalogowa / cena koncowa zalezy od konfiguracji" */
#wrapper .cnz-onorder-note,
.cnz-onorder-note {
    display: block;
    margin: 6px 0 2px;
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    font-style: italic;
}

#wrapper .cnz-inquiry {
    margin: 16px 0 6px;
    padding: 16px 18px;
    border: 1px solid #e3e6ef;
    border-radius: 6px;
    background: #f7f8fc;
}

#wrapper .cnz-inquiry .cnz-intro {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

#wrapper .cnz-inquiry .cnz-field {
    margin-bottom: 10px;
}

#wrapper .cnz-inquiry .cnz-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

#wrapper .cnz-inquiry .cnz-req {
    color: #d22630;
}

#wrapper .cnz-inquiry input[type="text"],
#wrapper .cnz-inquiry input[type="email"],
#wrapper .cnz-inquiry textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 15px;
    border: 1px solid #c8ccdb;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

#wrapper .cnz-inquiry textarea {
    resize: vertical;
}

/* Honeypot - visually hidden but present in DOM */
#wrapper .cnz-inquiry .cnz-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#wrapper .cnz-inquiry .cnz-btn,
button.cnz-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
    padding: 13px 22px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 0;
    border-radius: 4px;
    background: #d22630 !important;
    color: #fff !important;
    cursor: pointer;
    transition: background-color .15s ease, transform .05s ease;
}

#wrapper .cnz-inquiry .cnz-btn:hover {
    background: #b51f28 !important;
}

#wrapper .cnz-inquiry .cnz-btn:disabled {
    opacity: .6;
    cursor: default;
}

#wrapper .cnz-inquiry .cnz-error {
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 4px;
    background: #fde8e8;
    color: #9b1c1c;
    font-size: 14px;
}

#wrapper .cnz-inquiry .cnz-success p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 4px;
    background: #e6f6ec;
    color: #1b7a3d;
    font-size: 15px;
}
