
/**
 * Created: 		06/10/2025
 * Updated:			07/24/2025
 * Description:		Scripts
 * ✅		 		Functions that are working
 * ❌				Functions that are not working
 */


/**************************************
* Permanently hide
* ***********************************/
.rsgdx-wapi--.rsgdx-wapi-product-line,
.rsgdx-wapi--.woocommerce-mini-cart-item .rsgdx-wapi-lines li.rsgdx-wapi-lines-li::before,
.rsgdx-wapi--.woosb-item-parent.woocommerce-mini-cart-item dl.variation dd.variation-Bundledproducts ul li:before,
table.woocommerce-table.woocommerce-table--order-details.order_details tr.rsgdx-wapi-child
{
	display: none!important;
}

/**************************************
* Added Note on name
* ***********************************/
.rsgdx-wapi-- .rsgdx-wapi-lines label {
	font-size: 12px;
}
.rsgdx-wapi-- .rsgdx-wapi-lines ul.rsgdx-wapi-lines-ul {
	font-size: 12px; margin: 0; padding: 0 0 0 20px; opacity: 0.7; font-weight: 400;
}
.rsgdx-wapi--.woosb-item-parent dl.variation dt.variation-Bundledproducts {
	font-size: 12px; display: block;
}
.rsgdx-wapi--.woosb-item-parent dl.variation dd.variation-Bundledproducts {
	margin-top: 0; margin-left: 0;
}
.rsgdx-wapi--.woosb-item-parent dl.variation dd.variation-Bundledproducts ul {
	font-size: 12px; padding: 0 0 0 20px; opacity: 0.7;
}
.rsgdx-wapi-- dl.variation dd {
	margin-bottom: 0;
}
.rsgdx-wapi-- dl.variation dd p {
	margin-bottom: 0; opacity: 0.7;
}

/**************************************
* Mini cart
* ***********************************/
.rsgdx-mini-cart-inner .rsgdx-wapi--.woocommerce-mini-cart-item {
	position: relative; text-align: left;
}
.rsgdx-mini-cart-inner .rsgdx-wapi--.woocommerce-mini-cart-item a:not(.remove_from_cart_button) {
	display: flex; flex-direction: column; align-items: flex-start; font-size: 14px; font-weight: 700; gap: 10px; width: 100%;
}
.rsgdx-mini-cart-inner .rsgdx-wapi--.woocommerce-mini-cart-item a:not(.remove_from_cart_button):hover {
	color: #ffffff!important; cursor: auto;
}
.rsgdx-mini-cart-inner .rsgdx-wapi--.woocommerce-mini-cart-item .rsgdx-wapi-lines {
	font-weight: 400; margin-top: 10px; width: 100%; text-align: left;
}
.rsgdx-mini-cart-inner .rsgdx-wapi--.woocommerce-mini-cart-item .rsgdx-wapi-lines label {
	color: #ffffff;
}
.rsgdx-mini-cart-inner .rsgdx-wapi--.woosb-item-parent.woocommerce-mini-cart-item dl.variation {
	border: none; margin: 0; padding: 0; font-weight: 400;
}
.rsgdx-mini-cart-inner .rsgdx-wapi--.woocommerce-mini-cart-item .rsgdx-wapi-lines li.rsgdx-wapi-lines-li,
.rsgdx-mini-cart-inner .rsgdx-wapi--.woosb-item-parent.woocommerce-mini-cart-item dl.variation dd.variation-Bundledproducts ul li {
	padding: 0; min-height: 0; border: 0; list-style: disc;
}
.rsgdx-mini-cart-inner .rsgdx-wapi--.woocommerce-mini-cart-item .quantity {
	position: absolute; top: 90px; left: 10px; text-align: left; z-index: 2; width: 100%;
}
.rsgdx-mini-cart-inner .rsgdx-wapi--.woocommerce-mini-cart-item dl.variation {
	font-size: 12px;
}

/**************************************
* Checkout
* ***********************************/
.woocommerce-checkout-review-order-table .rsgdx-wapi-- .product-name {
	font-size: 14px; position: relative; min-height: 50px;
}
.woocommerce-checkout-review-order-table .rsgdx-wapi-- .rsgdx-wapi-lines,
.woocommerce-checkout-review-order-table .rsgdx-wapi-- dl.variation {
	display: flex; flex-direction: column; font-size: 12px; font-style: normal; font-weight: 400;
}
.woocommerce-checkout-review-order-table .rsgdx-wapi-- .rsgdx-wapi-lines li.rsgdx-wapi-lines-li,
.woocommerce-checkout-review-order-table .rsgdx-wapi-- dl.variation dd.variation-Bundledproducts ul li {
	font-style: normal;
}
.woocommerce-checkout-review-order-table .rsgdx-wapi--:not(.woosb-cart-parent) dl.variation dd {
	padding-left: 10px; color: var(--site_shade_8); color: #aaaaaa;
}

/**************************************
* Order Received
* ***********************************/
table.woocommerce-table.woocommerce-table--order-details.order_details .rsgdx-wapi-lines {
	display: flex; flex-direction: column; align-items: flex-start; width: 100%;
}
table.woocommerce-table.woocommerce-table--order-details.order_details .rsgdx-wapi-lines label {
	font-size: 12px;
}
table.woocommerce-table.woocommerce-table--order-details.order_details .rsgdx-wapi-lines ul.rsgdx-wapi-lines-ul {
	margin-top: 0; font-size: 12px; font-style: normal; opacity: 0.7;
}
table.woocommerce-table.woocommerce-table--order-details.order_details ul.wc-item-meta {
	font-size: 12px; padding-left: 0; margin-bottom: 0;
}
table.woocommerce-table.woocommerce-table--order-details.order_details .woosb-itemmeta-bundles {
	font-size: 12px; width: 100%;
}
table.woocommerce-table.woocommerce-table--order-details.order_details .woosb-itemmeta-bundles ul {
	margin-top: 0; opacity: 0.7;
}

/**************************************
* Order Pay
* ***********************************/
form#order_review tr.order_item.rsgdx-wapi-child {
	display: none!important;
}
form#order_review tr.order_item.rsgdx-wapi-parent .woosb-itemmeta-bundles,
form#order_review tr.order_item.rsgdx-wapi-parent .rsgdx-wapi-lines,
form#order_review tr.order_item .wc-item-meta {
	font-size: 12px; padding: 0 0 0 10px; margin: 0;
}
form#order_review tr.order_item.rsgdx-wapi-parent .rsgdx-wapi-lines label {
	font-size: 12px;
}
form#order_review tr.order_item.rsgdx-wapi-parent .woosb-itemmeta-bundles ul,
form#order_review tr.order_item.rsgdx-wapi-parent .rsgdx-wapi-lines ul,
form#order_review tr.order_item .wc-item-meta p {
	opacity: 0.7; margin: 0;
}