/*
Theme Name: Signs 2 Fleet Wholesale
Author: Signs 2 Fleet
Description: Independent wholesale storefront foundation using the reviewed new-store preview. No parent theme.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: signs2fleet-wholesale
*/

/* Explicit vertical sizing prevents the saved-artwork label from being clipped. */
.s2f-bridge-panel .s2f-bridge-controls select#s2f-bridge-file {
    display:block; box-sizing:border-box; width:100%; max-width:100%;
    height:3.25em; min-height:48px; max-height:none;
    padding:0 2.25em 0 .85em; font-size:16px; line-height:normal;
    background-color:#fff; color:#173c2d; border:1px solid #829b8d; border-radius:8px;
}

/* Use available width for artwork descriptions while keeping money readable. */
.s2f-storefront-commerce .commerce-native table.shop_table {
    width:100%; table-layout:auto; overflow-wrap:normal; word-break:normal;
}
.s2f-storefront-commerce .commerce-native table.shop_table .product-remove { width:42px; }
.s2f-storefront-commerce .commerce-native table.shop_table .product-thumbnail { width:76px; }
.s2f-storefront-commerce .commerce-native table.shop_table .product-thumbnail img { width:64px; max-width:64px; }
.s2f-storefront-commerce .commerce-native table.shop_table .product-name { overflow-wrap:anywhere; }
.s2f-storefront-commerce .commerce-native table.shop_table .product-price,
.s2f-storefront-commerce .commerce-native table.shop_table .product-subtotal,
.s2f-storefront-commerce .commerce-native table.shop_table .amount {
    white-space:nowrap; overflow-wrap:normal; word-break:normal;
}
.s2f-storefront-commerce .commerce-native table.shop_table .product-quantity { width:155px; }
.s2f-storefront-commerce .commerce-native table.shop_table .actions { width:auto; }
@media (max-width:767px) {
    .s2f-storefront-commerce .commerce-native table.shop_table_responsive thead { display:none; }
    .s2f-storefront-commerce .commerce-native table.shop_table_responsive,
    .s2f-storefront-commerce .commerce-native table.shop_table_responsive tbody,
    .s2f-storefront-commerce .commerce-native table.shop_table_responsive tr { display:block; width:100%; }
    .s2f-storefront-commerce .commerce-native table.shop_table_responsive td {
        display:block; width:100%; text-align:right; padding:12px 16px;
    }
    .s2f-storefront-commerce .commerce-native table.shop_table_responsive td::before {
        content:attr(data-title); float:left; font-weight:700; margin-right:16px;
    }
    .s2f-storefront-commerce .commerce-native table.shop_table_responsive td.product-name { text-align:left; }
    .s2f-storefront-commerce .commerce-native table.shop_table_responsive td.product-name::before { display:none; }
    .s2f-storefront-commerce .commerce-native table.shop_table_responsive td.product-thumbnail { display:none; }
    .s2f-storefront-commerce .commerce-native table.shop_table_responsive td.actions { text-align:left; }
}
