/**
* Custom styles for Mighty Kids Customizations plugin
*/

/**
* General
 */
body {
	overflow-y: auto;
}

/**
* Shop page
 */

body.woocommerce-shop.woocommerce ul.products li.product a img{
	max-width: 300px;
}

/**
* WC Cart
 */
.woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th.product-name {
	display: block;
	background-color: rgba(0, 0, 0, .005);
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th.product-name a {
	font-weight: normal;
}

/* Fix Klarna iframe issue */
.woocommerce-cart .wc-proceed-to-checkout #payment-method-message.StripeElement.ready {
	min-height: 60px;
}

@media screen and ( min-width: 768px ) {
	.woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th.product-name {
		border-top: 0;
		display: table-cell;
	}
}

/**
* WC Checkout
 */
.woocommerce a.remove {
	line-height: 14px;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart_item .product-name {
	display: flex;
	align-items: center;
	gap: 8px;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart_item .product-name .checkout-item-controls {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart_item .product-name .quantity .qty {
	width: 60px;
	height: 40px;
	padding: 6px;
}

/**
* Instant field validation
 */
.inline-error {
	font-size: .875rem;
	margin-top: .25rem;
	color: #aa0000;
}

.woocommerce-invalid input, .woocommerce-invalid select, .woocommerce-invalid textarea {
	border-color: #aa0000;
}

#place_order.disabled, #place_order[disabled] {
	opacity: .6;
}

/**
* Bundled products: Single product page
 */
.woocommerce ul.products.bundled_products {
	display: flex;
	gap: 30px;
	margin-bottom: 40px;
}

.woocommerce ul.products.bundled_products::before,
.woocommerce ul.products.bundled_products::after {
	content: '';
	display: none;
}

.woocommerce ul.products.bundled_products li.product {
	margin: 0;
	width: 25%;
}

.woocommerce div.product ul.products.bundled_products .product_title {
	font-size: 18px;
}

.woocommerce div.product ul.products.bundled_products .bundled_product .woocommerce-variation-price {
	display: none;
}

.woocommerce div.product ul.products.bundled_products .bundled_product .woocommerce-variation-price,
.woocommerce div.product ul.products.bundled_products .bundled_product .reset_bundled_variations_fixed,
.woocommerce div.product ul.products.bundled_products .bundled_product .bundled_item_cart_details .price,
.woocommerce div.product ul.products.bundled_products .bundled_product .bundled_item_cart_details .woocommerce-variation-availability,
.woocommerce div.product ul.products.bundled_products .bundled_product .bundled_item_cart_details .stock {
	display: none;
}

.woocommerce ul.products.bundled_products .bundled_product_summary .bundled_product_title .bundled_product_title_link {
	margin-left: 6px;
}

.woocommerce div.product .bundle_form ul.products.bundled_products .cart .variations select {
	background-color: #f5f5f5;
	font-size: 16px;
	padding-right: 32px;
	max-width: 100%; /* Don't exceed container width */
	width: 100%; /* Shrink to fit */
	white-space: nowrap; /* Prevent line breaks */
	overflow: hidden; /* Hide overflow text */
	text-overflow: ellipsis; /* Show "..." when text is too long */
	vertical-align: middle; /* Align nicely */
}

.woocommerce ul.products.bundled_products .bundled_product p.stock, .bundled_item_cart_details p.stock {
	margin-top: 0;
}

/* Modal */
.ui-widget-overlay {
	opacity: 0.4;
	background: #000;
	z-index: 100000 !important;
}

.ui-widget-header {
	background-color: #E7E0CA;
	color: #4e6663;
	border-radius: 4px;
}

.ui-dialog.ui-widget.ui-widget-content {
	border-radius: 10px;
	z-index: 100001;
}

.ui-dialog.ui-widget.ui-widget-content button {
	border-radius: 3px;
	font-size: 16px;
}
.ui-dialog.ui-widget.ui-widget-content button.button-clear {
	border: 1px solid #D1D5DB;
	color: #4e6663;
	background-color: #F9F6F2;

}

/**
* Checkout Thank you page
 */
.js-lightbox {
	display: none;
	position: fixed;
	background-color: #f7f7f7;
	top: 50%;
	left: 50%;
	padding: 50px;
	transform: translate(-50%, -50%);
	box-shadow: 10px 5px 5px #0000002e;
	z-index: 9999;
}

.js-lightbox--shipping form,
.js-lightbox--billing form {
	display: grid;
	grid-template-columns: auto;
	gap: 10px;
}

.js-lightbox--shipping label,
.js-lightbox--billing label {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.js-lightbox-close {
	position: absolute;
	top: 25px;
	right: 25px;
}

.js-update-billing, .js-update-shipping {
	margin-top: 25px;
	display: inline-block;
}

.col2-set--grid {
	display: grid;
	gap: 25px;
	grid-template-columns: auto;
}

@media only screen and (min-width: 1024px) {
	.col2-set--grid {
		grid-template-columns: auto auto;
	}
}

.col2-set--grid::before {
	display: none !important;
}

.col2-set--grid::after {
	display: none !important;
}

.c-flex.c-flex--cols {
	display: flex;
	flex-direction: column;
}

.resend_order_email_label {
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#resend_order_email {
	width: 20px;
	height: 20px;
}

/* WC My Account page */
body.woocommerce-account a.woocommerce-button{
	margin: 0 4px 6px 0;
	padding: 8px 20px;
	font-size: 16px;
}

body.woocommerce-account.woocommerce-view-subscription section.woocommerce-customer-details .col2-set .woocommerce-column{
	width: 100%;
}

.woocommerce-NoticeGroup .woocommerce-error a {
	color: #fff;
}

.woocommerce-account.woocommerce-view-order .woocommerce .col2-set .woocommerce-column{
	width: 100%;
}

/**
* My Account - Edit subscription
 */
#subscription-renewal-discount-notice {
	margin-bottom: 20px;
	padding: 10px;
	background-color: #f0f0f1;
	border-left: 4px solid #c98e1f;
}

/**
* Responsive
 */

@media screen and ( max-width: 1100px ) {
	.woocommerce ul.products.bundled_products {
		flex-wrap: wrap;
	}

	.woocommerce ul.products.bundled_products li.product {
		width: calc(33% - 20px);
	}

}

@media screen and ( max-width: 768px ) {
	.woocommerce ul.products.bundled_products li.product {
		width: calc(50% - 15px);
	}
}

@media screen and ( max-width: 600px ) {
	.woocommerce ul.products.bundled_products[class*="columns-"] li.product {
		width: 100%;
	}


}
