/* ============================ */
/* ===== WooCommerce CSS ====== */
/* ============================ */







/* Style for the Package Splitting Fee Checkbox */
.package-splitting-fee {
    margin-bottom: 15px;
}

.package-splitting-fee label {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
}

.package-splitting-fee input[type="checkbox"] {
    margin-right: 8px;
}

/* Style for Quantity Reset Notices */
.quantity-reset-notice {
    background-color: #f0f0f0;
    border-left: 4px solid #8b807a;
    padding: 10px;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    display: none;
    border-radius: 3px;
}


/* Hide Coupon Section */
.woocommerce-cart-form .coupon {
    display: none;
}
/* Hide the "Additional Information" tab */
.woocommerce-tabs .additional_information_tab {
    display: none !important;
}

/* Optionally, hide the tab panel content as well */
#tab-additional_information {
    display: none !important;
}

/* Select2 Styling */
.select2-selection__rendered {
    background-color: #ffffff !important; 
}

.select2-container--default .select2-selection--single {
    background-color: #ffffff !important; 
    border: 0.5px solid #ddd; 
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); 
}

/* Style for the Select2 dropdown (country, state) to match input fields */
.select2-container .select2-selection {
    background-color: #fff;
    border: 0.5px solid #ddd; 
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); 
    height: 40px; 
    padding: 6px 12px; 
    box-sizing: border-box;
    display: block; 
}

/* Softer, more elegant shadow to input boxes and dropdowns */
.woocommerce-input-wrapper input[type="text"],
.woocommerce-input-wrapper input[type="email"],
.woocommerce-input-wrapper input[type="tel"],
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea {
    background-color: #fff; /* White background */
    border: 0.5px solid #ddd; /* Light border */
    border-radius: 4px; /* Rounded corners */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Softer shadow */
    padding: 8px 12px; /* Inner padding */
    font-size: 16px; /* Font size */
    width: 100%; /* Full width */
    transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out; /* Smooth transition */
}

/* Slightly stronger shadow and border color on focus */
.woocommerce-input-wrapper input[type="text"]:focus,
.woocommerce-input-wrapper input[type="email"]:focus,
.woocommerce-input-wrapper input[type="tel"]:focus,
.woocommerce-input-wrapper select:focus,
.woocommerce-input-wrapper textarea:focus {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    border-color: #007cba; 
    outline: none; 
}

/* Stock Available on Backorder */
.stock.available-on-backorder {
    color: red !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

/* Force product images to maintain aspect ratio */
.woocommerce div.product div.images img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Ensures the image fits without distortion */
    background-color: #f8f8f8 !important; /* Optional: Add background color */
}

