.inox-wala-m2 { width: 100%; max-width: 100%; min-width: 0; }
.inox-wala-m2 .inox-m2-variant-control { margin-bottom: 16px; max-width: 760px; }
.inox-wala-m2 .inox-m2-variant-control label { display: block; margin-bottom: 6px; font-weight: 600; }
.inox-wala-m2 .inox-m2-variant-select {
    display: block; width: 100%; max-width: 100%; margin: 0; padding: 12px 14px;
    border: 1px solid #cbd2d9; border-radius: 6px; font: inherit; background-color: #fff; color: inherit;
}
.inox-wala-m2 .inox-m2-selected-price { display: block; margin-top: 8px; font-weight: 600; min-height: 1.5em; }
.inox-wala-m2 .inox-variant-table-wrap { max-width: 760px; width: 100%; min-width: 0; }
.inox-wala-m2 table.inox-m2-table { width: 100% !important; max-width: 760px; min-width: 0 !important; table-layout: fixed; }
.inox-wala-m2 .inox-m2-table th, .inox-wala-m2 .inox-m2-table td {
    white-space: normal !important; overflow-wrap: normal; word-break: normal; vertical-align: middle; box-sizing: border-box;
}
.inox-wala-m2 .inox-m2-table th:nth-child(1) { width: 18%; }
.inox-wala-m2 .inox-m2-table th:nth-child(2) { width: 30%; }
.inox-wala-m2 .inox-m2-table th:nth-child(3) { width: 32%; }
.inox-wala-m2 .inox-m2-table th:nth-child(4) { width: 20%; }
.inox-wala-m2 .inox-m2-prices-visible th:nth-child(1) { width: 18%; }
.inox-wala-m2 .inox-m2-prices-visible th:nth-child(2) { width: 25%; }
.inox-wala-m2 .inox-m2-prices-visible th:nth-child(3) { width: 25%; }
.inox-wala-m2 .inox-m2-prices-visible th:nth-child(4) { width: 14%; }
.inox-wala-m2 .inox-m2-prices-visible th:nth-child(5) { width: 18%; }
.inox-wala-m2 .inox-m2-header-small { display: none; }
.inox-wala-m2 .inox-m2-scroll-note { display: none; }
.inox-wala-m2 .inox-m2-selected { outline: 2px solid var(--inox-navy, #0b3446); outline-offset: -2px; }
.inox-m2-drawing img { display: block; width: auto; max-width: 100%; height: auto; max-height: 887px; object-fit: contain; margin: 0 auto; }
.inox-m2-product .woocommerce-product-gallery__image { display: flex; align-items: center; justify-content: center; }
.inox-m2-product .woocommerce-product-gallery__image a { display: block; width: 100%; }
.inox-m2-product .woocommerce-product-gallery__image img {
    display: block !important; width: 100% !important; height: auto !important; max-height: 560px !important;
    object-fit: contain !important; object-position: center !important; margin: 0 auto !important;
}
.products .inox-m2-product .inox-m2-photo {
    display: block !important; width: 100% !important; height: 240px !important; max-height: 240px !important;
    object-fit: contain !important; object-position: center !important; margin-left: auto !important; margin-right: auto !important;
}
.inox-category-card--pochwyty-drzwiowe-wala-m .inox-category-image { display: flex; align-items: center; justify-content: center; }
.inox-category-card--pochwyty-drzwiowe-wala-m .inox-category-image img {
    display: block !important; width: 100% !important; height: 100% !important; max-width: 100% !important;
    max-height: 100% !important; object-fit: contain !important; object-position: center !important; margin: 0 auto !important;
}
@media (max-width: 600px) {
    .inox-wala-m2 .inox-m2-table th, .inox-wala-m2 .inox-m2-table td { padding: 8px 5px !important; font-size: 13px !important; }
    .inox-wala-m2 .inox-m2-variant-select { font-size: 14px; padding: 12px 8px; }
    .inox-wala-m2 .inox-m2-header-wide { display: none; }
    .inox-wala-m2 .inox-m2-header-small { display: inline; text-decoration: none; }
    .inox-wala-m2 table.inox-m2-prices-visible { min-width: 540px !important; }
    .inox-wala-m2 .inox-m2-prices-visible th:nth-child(1) { width: 11%; }
    .inox-wala-m2 .inox-m2-prices-visible th:nth-child(2) { width: 25%; }
    .inox-wala-m2 .inox-m2-prices-visible th:nth-child(3) { width: 30%; }
    .inox-wala-m2 .inox-m2-prices-visible th:nth-child(4) { width: 16%; }
    .inox-wala-m2 .inox-m2-prices-visible th:nth-child(5) { width: 18%; }
    .inox-wala-m2 .inox-m2-scroll-note { display: block; }
}
