/* --- PRODUCT PAGE --- */
.product-type-bundle .bundle_error .woocommerce-info,
.product-type-bundle .bundle_form td.label,
.product-type-bundle .bundle_form .bundled_product_title_link,
.product-type-bundle .bundle_form .reset_bundled_variations_fixed {
	display: none !important;
}

/* products column */
.product-type-bundle .bundle_form {
	display: flex;
	flex-direction: column;
	gap: 10px;

	margin-top: 20px;
	margin-bottom: 0 !important;
}

.product-type-bundle .bundle_form::before {
	content: "Choose size *" !important;
	display: block !important;
	font-size: 14px;
	font-weight: 600;
}

/* summary */
.product-type-bundle .bundle_form .bundled_product.product {
	padding: 10px;
	margin-bottom: 0px;
	background-color: #fff;
	border-radius: 2px;
	border: solid 1px #efefef;
	gap: 10px;
}

.product-type-bundle .bundled_product table.variations {
	padding-top: 0px;
}

.product-type-bundle .bundle_form .bundled_product_summary {
	display: flex;
	gap: 10px;
}

/* image */
.product-type-bundle div.bundled_product_images.images {
	float: unset !important;
	width: auto !important;
}

.product-type-bundle div.bundled_product_summary:after,
.product-type-bundle div.bundled_product_summary:before {
	content: none;
}

.product-type-bundle .bundled_product_images figure.bundled_product_image a {
	pointer-events: none;
}

.product-type-bundle img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail.wp-post-image {
	width: 50px !important;
	height: 50px !important;
	object-fit: contain;
	background-color: white;
	padding: 5px;
	border-radius: 2px;
	border: solid 1px #efefef;
}

.product-type-bundle figure.bundled_product_image.woocommerce-product-gallery__image {
	background-color: transparent;
}

/* details */
.product-type-bundle div.bundled_product_summary .details {
	float: unset !important;
	width: auto !important;
	padding: 0 !important;
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
}

.product-type-bundle div.bundled_product_summary .details .bundled_product_title {
	height: auto;
	flex-basis: 100%;
}

.product-type-bundle div.bundled_product_summary .details .stock {
	display: none;
}

/* select size */
.product-type-bundle div.bundled_product_summary .details select {
	height: 40px;
	padding-left: 10px;
	padding-right: 30px;

	border-radius: 2px;
	border: solid 1px #efefef;
}

/* quantiy & add-to-cart */
.product-type-bundle .add-to-cart-buttons {
	display: none;
}

.product-type-bundle button.single_add_to_cart_button.bundle_add_to_cart_button.button.alt {
	background-color: var(--primary-color);
	width: 100%;
	border-radius: 7px;
	height: 47px;

	margin-top: 10px;
}

/* --- CART --- */
.woocommerce-cart table.cart .bundled_table_item::before {
	content: "";
	width: 60px;
}

.woocommerce-cart table.cart .product-thumbnail img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	background-color: white;
	padding: 5px;
	border-radius: 2px;
	border: solid 1px #efefef;
}

.woocommerce-cart table.cart .bundled_table_item .product-thumbnail img {
	width: 40px;
	height: 40px;
}

.woocommerce-cart table.cart .bundled_table_item .bundled_table_item_indent {
	padding: 0;
}

.woocommerce-cart table.cart .bundled_table_item .product-quantity {
	display: none;
}

/* --- CHECKOUT --- */
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .bundle_table_item td,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .bundled_table_item td {
	border: 1px solid #d3d3d3 !important;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .bundle_table_item:hover td {
	border: 1px solid #222 !important;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .bundled_table_item td {
	padding: 0 15px;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .bundled_table_item td .cart-item-title {
	font-size: 12px;
	font-weight: 400;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .bundled_table_item td .checkout-sku {
	display: none;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .bundled_table_item .product-image {
	width: 50px;
	height: 50px;
	padding-block: 5px;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .bundled_table_item .bundled_table_item_indent {
	padding: 0;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .bundled_table_item td .item-quantity-group {
	display: none;
}

/* Checkbox

.bundled_product .bundled_product_optional_checkbox span.price {
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: #222 !important;
}

.bundled_product .bundled_product_optional_checkbox .price:before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translate(0%, -50%);
	width: 20px;
	height: 20px;
	border: solid 1px #ddd;
	border-radius: 4px;
}

.bundled_product .bundled_product_optional_checkbox:hover .price:before {
	border-color: #ccc;
}

.bundled_product_summary .bundled_product_optional_checkbox {
	position: relative;
	padding-left: 30px !important;
	order: 3;
	display: flex;
	flex-direction: column;
	font-size: 12px;
	font-weight: 500;
	gap: 3px;
	flex-shrink: 0;
	cursor: pointer;
}

.bundled_product_summary .bundled_product_optional_checkbox input.bundled_product_checkbox {
	display: none;
}

.bundled_product .bundled_product_optional_checkbox input:checked+.price:before {
	content: "";
	background-color: var(--primary-color);
	background-image: url('../images/checkmark.svg');
	background-size: 12px;
	background-repeat: no-repeat;
	background-position: center;
	border-color: var(--primary-color);
}

.bundled_product_summary .bundled_product_optional_checkbox del {
	font-size: 10px;
}

.bundled_product_summary .bundled_product_optional_checkbox ins {
	text-decoration: none;
	font-size: 16px;
	line-height: 110%;
}

.bundled_product .bundled_product_optional_checkbox span.price small.woocommerce-price-suffix {
	font-weight: normal;
	max-width: 110px;
}

*/

/* New Styling */

label.bundled_product_optional_checkbox {
	flex-shrink: 0;
}

.cart.bundled_item_cart_content {
	flex-basis: 100%;
	display: flex;
}

.cart.bundled_item_cart_content select {
	width: 100%;
}

.bundled_product_summary .bundled_product_optional_checkbox {
	font-size: 12px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	cursor: pointer;
	font-weight: 600;
	width: 100%;
}

.bundled_product_summary .bundled_product_optional_checkbox input,
.single-product form.cart .bundled_product_summary .bundled_product_optional_checkbox input {
	height: 18px;
	width: 18px !important;
	margin: 0 5px 0 0;
}

.bundled_product_summary .bundled_product_optional_checkbox span.price del {
	font-size: 11px;
	color: #121212;
}

.bundled_product_summary .bundled_product_optional_checkbox span.price ins {
	text-decoration: none;
	color: #121212;
}

.bundled_product_summary .bundled_product_optional_checkbox span.price small.woocommerce-price-suffix {
	font-weight: normal;
	line-height: 140%;
}

.bundled_product_summary .bundled_product_optional_checkbox span.price {
	margin-top: 5px;
	margin-left: auto !important;
	text-align: right;
}