/*
 * Inquiry popup — form styles for pages that load neither cart.css nor single-product.css
 * (Step 17, 2026-10-07; enqueued by inc/inquiry-drawer.php ko_inq_assets()).
 *
 * The drawer-route list popup (CF7 2611, rendered on every non-cart page by
 * ko_inq_render_cart_enquiry_modal()) took its look from cart.css on the list page and from
 * single-product.css on product pages only. On category / shop / brand and other pages it fell
 * back to the plugin's max-width: 600px with unstyled CF7 fields (size=40, 341 px) in the form's
 * own two-column layout (flex-md-row, gap-md-5): 750 px of content in a 600 px box, the right
 * column cut off (operator report 2026-10-06, reproduced on /talne-ploscice/ at 900-1440 px).
 *
 * The rules below are a VERBATIM copy of assets/css/woo/cart.css lines 424-658 (live 2026-10-07,
 * sha256 of the block 7ba91258f29cf3f093bd13295659a4dccc88aa3f4b4d1a53a876be21b1f65539), so the
 * popup looks the same as on the list page. Keep the two in step: a change to the popup block in
 * cart.css belongs here too.
 */

.woocommerce-catalog-mode-popup-container {
    max-width: 1280px !important;
}

.woocommerce-catalog-mode-popup input.ef_pn,
.woocommerce-catalog-mode-popup input.ef_sku,
.woocommerce-catalog-mode-popup .ef_attr_info {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    border: 0;
}

.woocommerce-catalog-mode-popup input.ef_sku {
    display: none !important;
}

.woocommerce-catalog-mode-popup textarea.wpcf7-form-control.wpcf7-textarea {
    font-size: 14px;
    background: #F7F4F4;
    outline: 0;
    border: 0;
    width: 100%;
    padding: 20px;
    border-radius: 2px;
}

.woocommerce-catalog-mode-popup input.ef_pn {
    font-weight: 700;
    font-size: 25px;
}

.woocommerce-catalog-mode-popup input.ef_sku {
    color: #7E7E7E;
}

.woocommerce-catalog-mode-popup .form_sec_title {
    font-weight: 600;
    font-size: 20px;
}

.woocommerce-catalog-mode-popup .form_body input.wpcf7-text {
    border: 0;
    background: #F7F4F4;
    font-size: 14px;
    padding: 18px 20px;
    margin-bottom: 8px;
    width: 100%;
    border-radius: 2px;
}

.woocommerce-catalog-mode-popup .form_col_1,
.woocommerce-catalog-mode-popup .form_col_2 {
    width: 100%;
}

input.wpcf7-form-control.ef_attr_info,
input.wpcf7-form-control.ef_pn {
    width: 100% !important;
}

.woocommerce-catalog-mode-popup .wpcf7-form-control.wpcf7-radio {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
}

.woocommerce-catalog-mode-popup .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.woocommerce-catalog-mode-popup .wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
    margin-left: 0;
}

.woocommerce-catalog-mode-popup .wpcf7-form-control.wpcf7-acceptance span.wpcf7-list-item {
    margin: 0;
    margin-top: 10px;
}

.woocommerce-catalog-mode-popup input.wpcf7-form-control.wpcf7-submit {
    padding: 20px;
    background: #E92727;
    width: 100%;
    border: 0;
    border-radius: 2px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.woocommerce-catalog-mode-popup .wpcf7-acceptance input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    position: relative;
    background: #F7F4F4 !important;
    border-radius: 3px;
    cursor: pointer;
    width: 25px !important;
    height: 25px;
    margin: 0;
    padding: 8px;
    display: inline-block;
    position: relative;
}

.woocommerce-catalog-mode-popup .wpcf7-acceptance input[type=checkbox]:checked::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    content: '';
    width: 17px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='17' height='14' viewBox='0 0 17 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.80013 11.3866L2.21063 7.39756L2.21061 7.39754C2.05367 7.22317 1.83483 7.11942 1.60031 7.11942C1.36578 7.11942 1.14694 7.22317 0.990005 7.39754C0.833851 7.57104 0.75 7.80121 0.75 8.03641C0.75 8.27161 0.83385 8.50179 0.990005 8.67529L5.18973 13.3415C5.26728 13.4278 5.36082 13.4978 5.46578 13.5461C5.57084 13.5945 5.68454 13.6199 5.80012 13.6199C5.9157 13.6199 6.0294 13.5945 6.13446 13.5461C6.23942 13.4978 6.33296 13.4278 6.41051 13.3415L16.01 2.67574C16.1661 2.50224 16.25 2.27206 16.25 2.03686C16.25 1.80166 16.1661 1.57148 16.01 1.39798C15.8531 1.22362 15.6342 1.11987 15.3997 1.11987C15.1652 1.11987 14.9463 1.22362 14.7894 1.39798L14.7894 1.39799L5.80013 11.3866Z' fill='%23FF4141' stroke='%23FF4141' stroke-width='0.5'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: contain;
}

.woocommerce-catalog-mode-popup input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    position: relative;
    background: #F7F4F4 !important;
    border-radius: 3px;
    cursor: pointer;
    width: 25px !important;
    height: 25px;
    margin: 0;
    padding: 8px;
    display: inline-block;
    position: relative;
}

.woocommerce-catalog-mode-popup input[type=radio]:checked::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    content: '';
    width: 17px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='17' height='14' viewBox='0 0 17 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.80013 11.3866L2.21063 7.39756L2.21061 7.39754C2.05367 7.22317 1.83483 7.11942 1.60031 7.11942C1.36578 7.11942 1.14694 7.22317 0.990005 7.39754C0.833851 7.57104 0.75 7.80121 0.75 8.03641C0.75 8.27161 0.83385 8.50179 0.990005 8.67529L5.18973 13.3415C5.26728 13.4278 5.36082 13.4978 5.46578 13.5461C5.57084 13.5945 5.68454 13.6199 5.80012 13.6199C5.9157 13.6199 6.0294 13.5945 6.13446 13.5461C6.23942 13.4978 6.33296 13.4278 6.41051 13.3415L16.01 2.67574C16.1661 2.50224 16.25 2.27206 16.25 2.03686C16.25 1.80166 16.1661 1.57148 16.01 1.39798C15.8531 1.22362 15.6342 1.11987 15.3997 1.11987C15.1652 1.11987 14.9463 1.22362 14.7894 1.39798L14.7894 1.39799L5.80013 11.3866Z' fill='%23FF4141' stroke='%23FF4141' stroke-width='0.5'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: contain;
}

.woocommerce-catalog-mode-popup {
    border-radius: 0;
}


/* width */

#woocommerce-catalog-mode-enquiry-cart-popup-container::-webkit-scrollbar {
    width: 5px;
}


/* Track */

#woocommerce-catalog-mode-enquiry-cart-popup-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

#woocommerce-catalog-mode-enquiry-cart-popup-container::-webkit-scrollbar-thumb {
    background: #E92727;
}


/* Handle on hover */

#woocommerce-catalog-mode-enquiry-cart-popup-container::-webkit-scrollbar-thumb:hover {
    background: #E92727;
}

@media(min-width:992px) {
    .woocommerce-catalog-mode-popup .ef_sku_wrap:after {
        content: "|";
        margin-left: 3px;
        margin-right: 3px;
    }
    .woocommerce-catalog-mode-popup .form_col_1 {
        width: 40%;
    }
    .woocommerce-catalog-mode-popup .form_col_2 {
        width: 60%;
    }
    .woocommerce-catalog-mode-popup input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.ef_pn {
        font-size: 44px;
    }
    .woocommerce-catalog-mode-popup {
        padding: 30px 50px;
    }
}

textarea.ef_pn {
    display: none !important;
}

.woocommerce-catalog-mode-popup-close {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg width='23' height='22' viewBox='0 0 23 22' fill='none' version='1.1' id='svg195' sodipodi:docname='Groupx.svg' inkscape:version='1.2.2 (b0a8486, 2022-12-01)' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs id='defs199' /%3E%3Csodipodi:namedview id='namedview197' pagecolor='%23ffffff' bordercolor='%23000000' borderopacity='0.25' inkscape:showpageshadow='2' inkscape:pageopacity='0.0' inkscape:pagecheckerboard='0' inkscape:deskcolor='%23d1d1d1' showgrid='false' inkscape:zoom='10.727273' inkscape:cx='0.32627119' inkscape:cy='11.04661' inkscape:window-width='2316' inkscape:window-height='1387' inkscape:window-x='0' inkscape:window-y='25' inkscape:window-maximized='0' inkscape:current-layer='svg195' /%3E%3Cmask id='path-2-outside-1_169_342' maskUnits='userSpaceOnUse' x='0' y='0' width='23' height='22' fill='black'%3E%3Crect fill='white' width='23' height='22' id='rect186' /%3E%3Cpath d='M21.8144 20.8232C21.6906 20.941 21.5285 21 21.3663 21C21.2042 21 21.042 20.941 20.9183 20.8232L11.5 11.8534L2.08167 20.8233C1.95799 20.9411 1.79574 21 1.63359 21C1.47149 21 1.30934 20.9411 1.18556 20.8233C0.938147 20.5876 0.938147 20.2056 1.18556 19.9698L10.6039 11L1.18556 2.03015C0.938147 1.79447 0.938147 1.41243 1.18556 1.17676C1.43301 0.941081 1.83416 0.941081 2.08167 1.17676L11.5 10.1466L20.9183 1.17685C21.1658 0.941178 21.5669 0.941178 21.8144 1.17685C22.0619 1.41248 22.0619 1.79457 21.8144 2.03025L12.3961 11L21.8144 19.9698C22.0618 20.2055 22.0618 20.5876 21.8144 20.8232Z' id='path188' /%3E%3C/mask%3E%3Cpath d='M21.8144 20.8232C21.6906 20.941 21.5285 21 21.3663 21C21.2042 21 21.042 20.941 20.9183 20.8232L11.5 11.8534L2.08167 20.8233C1.95799 20.9411 1.79574 21 1.63359 21C1.47149 21 1.30934 20.9411 1.18556 20.8233C0.938147 20.5876 0.938147 20.2056 1.18556 19.9698L10.6039 11L1.18556 2.03015C0.938147 1.79447 0.938147 1.41243 1.18556 1.17676C1.43301 0.941081 1.83416 0.941081 2.08167 1.17676L11.5 10.1466L20.9183 1.17685C21.1658 0.941178 21.5669 0.941178 21.8144 1.17685C22.0619 1.41248 22.0619 1.79457 21.8144 2.03025L12.3961 11L21.8144 19.9698C22.0618 20.2055 22.0618 20.5876 21.8144 20.8232Z' fill='%23242424' id='path191' /%3E%3Cpath d='M21.8144 20.8232C21.6906 20.941 21.5285 21 21.3663 21C21.2042 21 21.042 20.941 20.9183 20.8232L11.5 11.8534L2.08167 20.8233C1.95799 20.9411 1.79574 21 1.63359 21C1.47149 21 1.30934 20.9411 1.18556 20.8233C0.938147 20.5876 0.938147 20.2056 1.18556 19.9698L10.6039 11L1.18556 2.03015C0.938147 1.79447 0.938147 1.41243 1.18556 1.17676C1.43301 0.941081 1.83416 0.941081 2.08167 1.17676L11.5 10.1466L20.9183 1.17685C21.1658 0.941178 21.5669 0.941178 21.8144 1.17685C22.0619 1.41248 22.0619 1.79457 21.8144 2.03025L12.3961 11L21.8144 19.9698C22.0618 20.2055 22.0618 20.5876 21.8144 20.8232Z' stroke='black' stroke-width='2' mask='url(%23path-2-outside-1_169_342)' id='path193' /%3E%3C/svg%3E%0A");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: 17px;
    background-color: transparent;
    font-size: 0;
}

#product_visual hr {
    margin: 7px 0;
    border-top: 1px solid #e1e1e1;
    opacity: 1;
}
