/* Helper classes */
.hidden {
	display: none !important;
}

/* Filter Bar */
.custom-filter {
	width: 100%;
}

.custom-filter__form {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #181818;
	padding: 20px;
	color: #fff;
}

@media screen and (max-width: 999px) {
	.custom-filter__form {
		flex-direction: column;
		gap: 20px;
	}

	.custom-filter__form__left {
		flex-direction: column;
		width: 100%;
	}
}

.custom-filter__form__left {
	display: flex;
	gap: 10px;
}

.custom-filter__form__right button {
	background: none;
	border: none;
	cursor: pointer;
}

.custom-filter__form__left .form-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.custom-filter__form__right {
	position: relative;
	top: 4px;
	display: flex;
}

.svg-loading {
	position: relative;
	top: 9px;
}

.custom-filter__form__right button,
.custom-filter__form__right button:hover {
	background: none !important;
}

.form-group select {
	min-width: 150px;
}

.form-group input,
.form-group select {
	padding: 10px;
}

.form-group-hidden {
	display: none !important;
}
/* Filter Bar End */

/* Search Results */

.shop-search {
	max-width: 1480px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 40px;
	padding-left: 20px;
	padding-right: 20px;
}

.search-for {
	padding-top: 20px;
}

.search-results-table {
	width: 100%;
	display: flex;
	flex-direction: column;
}

/* .stock-badge {
	height: 15px;
	width: 15px;
	display: block;
	border-radius: 50%;
	position: relative;
	left: 10px;
	top: 3px;
}

.stock-badge.Yes {
	background: green;
}

.stock-badge.No {
	background: red;
}

.stock-badge.Limited {
	background: orange;
} */

/* --- Stock Status Indicators --- */
.stock-td {
	text-align: center;
}

/* Base style for the circle */
.stock-badge {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    vertical-align: middle;
    background-color: #cccccc; /* Default grey color */
}

/* Green for "In stock" */
.stock-badge.instock {
    background-color: #28a745; /* Green */
}

/* Yellow for "Limited" stock or "On backorder" */
.stock-badge.limitedstock,
.stock-badge.onbackorder {
    background-color: #ffc107; /* Yellow */
}

/* Red for "Out of stock" */
.stock-badge.outofstock {
    background-color: #dc3545; /* Red */
}

.search-results-table .pagination {
	order: 2;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	width: 100%;
	gap: 10px;
}

.pagination .page-numbers {
	background: #181818;
	padding: 6px 10px;
	color: #fff;
	font-weight: 600;
}

.page-numbers.current {
	color: #ffe500 !important;
}

/* Product Page */

.custom-product-wrapper {
	display: flex;
	flex-direction: column;
}

.custom-product {
	display: flex;
	min-height: 400px;
}

@media screen and (max-width: 999px) {
	.custom-product {
		flex-direction: column;
	}

	.custom-product__left img {
		max-height: 300px;
		object-fit: contain !important;
	}

	.custom-product__left,
	.custom-product__right {
		padding: 0 !important;
	}
}

.custom-product__left img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.custom-product__left,
.custom-product__right {
	flex: 1;
	padding: 20px;
}

.custom-product__right {
	display: flex;
	flex-direction: column;
}

.custom-product__right__top {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.custom-product__right__top h1 {
	margin-bottom: 0;
	color: #000 !important;
}

.custom-product__right__top p {
	font-size: 14px;
}

.custom-product__right__bottom {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}

.custom-product__right__bottom__left {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.meta-block {
	display: flex;
	justify-content: space-between;
}

.custom-product__right__bottom__right {
	display: flex;
	flex-direction: column;
	min-width: 250px;
}

.woocommerce-Price-amount.amount {
	font-weight: 700;
	font-size: 25px;
}

.stock-status {
	font-size: 14px;
	padding-bottom: 10px;
}

.stock-status--in-stock {
	color: green;
	font-weight: 700;
	text-transform: capitalize;
}

.stock-status--out-of-stock {
	color: red;
	font-weight: 700;
	text-transform: capitalize;
}

.stock-status--limited {
	color: orange;
	font-weight: 700;
	text-transform: capitalize;
}

.custom-product-desc {
	padding-top: 20px;
}

.single_add_to_cart_button.button.alt {
	background: #000 !important;
}

.single_add_to_cart_button.button.alt {
	max-width: 190px;
	text-align: center;
}

/* Product Page End */

/* Checkout Page */
.woocommerce-notices-wrapper {
	display: none;
}

.checkout.woocommerce-checkout {
	padding-bottom: 20px;
}

.woocommerce-shipping-fields h3,
.woocommerce-billing-fields h3 {
	color: black !important;
}

.wc_payment_methods.payment_methods.methods {
	display: none;
}

p#client_reference_field .optional {
	display: none;
}

p#order_comments_field {
	display: none;
}

/* tr.woocommerce-shipping-totals.shipping {
    display: none;
} */

/* Checkout Page End */

/* Confirmation Page */
.woocommerce-order-overview__payment-method.method {
	display: none;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:nth-child(2) {
	display: none;
}

.woocommerce-order p:nth-child(3) {
	display: none !important;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
	text-align: center;
	font-weight: 700;
	font-size: 30px;
	padding-bottom: 20px;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
	text-align: center;
}

/* Checkout Page End */

/* Table */

table td {
	position: relative;
}

/* Model toolip */
.tooltip,
.wiring-tooltip {
	background: #000;
	position: absolute;
	top: 0;
	min-width: 300px;
	display: none;
	flex-direction: column;
	padding: 16px;
	z-index: 2;
	border-radius: 10px;
	gap: 10px;
	left: 100px;
}

.tooltip span {
	color: #fff;
}

.model-td,
.info-td {
	cursor: pointer;
}

.model-td:hover .tooltip,
.info-td:hover .wiring-tooltip {
	display: flex;
}

/* Info Tooltip */

.wiring-tooltip {
	flex-direction: column;
	color: #fff;
}

.info-td svg {
	position: relative;
	left: 0px;
	top: 0px;
}

.search-summary {
	display: flex;
}
.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:nth-child(3) {
	display: none !important;
}

/* Added to cart block */
.added-to-cart {
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	background: #181818;
	border-radius: 4px;
	display: none;
}

.added-to-cart span,
.added-to-cart a {
	color: #fff;
}

.added-to-cart a:hover {
	color: #fff !important;
	opacity: 0.9;
}

.added-to-cart__right {
	display: flex;
	gap: 20px;
}

span.select2.select2-container.select2-container--default {
	width: 100% !important;
}

/* Manual Overlay */
.manual-overlay {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 500px;
	height: 500px;
	background: black;
	display: none;
	transform: translate(-50%, -50%);
	z-index: 999999;
	border-radius: 6px;
	overflow-y: scroll;
}

@media screen and (max-width: 550px) {
	.manual-overlay {
		width: 95vw;
	}
}

.manual-overlay__content {
	padding: 60px 20px 20px 20px;
	width: 100%;
}

.overlay--close {
	position: absolute;
	top: 15px;
	right: 15px;
	cursor: pointer;
	color: #fff;
	font-weight: 600;
	font-size: 19px;
}

.manual-overlay__content .manual-link {
	background: #fff;
	margin-bottom: 10px;
	padding: 10px;
	border-radius: 6px;
}
