.bya_hide {
	display: none;
}

a.bya_link {
	text-decoration: none !important;
}

.bya_myaccount_buy_again_wrapper,
.bya_product_table_container,
.bya_product_search_container {
	float: left;
	width: 100%;
}

.bya_product_search_container .bya_product_search_btn {
	margin-left: 10px !important;
}

.bya_product_table_container .bya_buy_again_product_table {
	width: 100%;
}

.bya_product_table_container .bya_buy_again_product_table thead {
	background: #f1f1f1;
}

.bya_product_table_container .bya_buy_again_product_table thead th {
	padding: 15px 10px;
	color: #000;
	text-transform: capitalize;
}

.bya_product_table_container .bya_buy_again_product_table tbody td {
	padding: 10px;
	color: #222;
	border-bottom: 0;
	vertical-align: top;
}

.bya_product_table_container .bya_buy_again_product_table tbody tr:nth-child(even) {
	background: #f1f1f1;
}

.bya_product_table_container .bya_buy_again_product_table tbody td img {
	width: 75px;
	height: auto;
}

.bya_product_table_container .bya_buy_again_product_table tbody td a.bya_link {
	text-decoration: none !important;
}

.bya_product_table_container .bya_buy_again_product_table tbody td a.bya_product_title {
	font-size: 1rem;
	font-weight: 400;
	color: #333;
}

.bya_product_table_container .bya_buy_again_product_table tbody td span {
	color: #f00;
	font-size: 14px;
}

.bya_product_table_container .bya_buy_again_product_table tbody td .bya_out_of_stock {
	color: #f00;
	font-weight: 700;
	font-size: 14px;
}

.bya_product_table_container .bya_buy_again_product_table tbody td button,
.order_details .bya_order_item_fields .bya_add_to_cart_container .button,
.order_details .bya_order_item_fields .bya_buy_again_container .button {
	margin-right: 10px;
	margin-bottom: 10px;
	padding: 7px 15px;
	color: #fff;
	border: none;
	border-radius: 5px;
	box-shadow: none;
	font-size: 14px;
	font-weight: 600;
}

.bya_product_table_container .bya_buy_again_product_table tbody td .bya-add-to-cart,
.order_details .bya_order_item_fields .bya_add_to_cart_container .bya-add-to-cart {
	background: #29b58f;
	color: #fff;
}

.bya_product_table_container .bya_buy_again_product_table tbody td .bya-buy-again,
.order_details .bya_order_item_fields .bya_buy_again_container .bya-buy-again {
	background: #0d3993;
	color: #fff;
}

.bya_product_table_container .bya_buy_again_product_table tfoot tr td .page-numbers {
	cursor: pointer;
}

.bya_quantity {
	float: left;
	position: relative;
}

.bya_dialog_box {
	position: absolute;
	background: #333;
	display: block;
	float: left;
	color: #fdfdfd;
	line-height: 30px;
	padding: 5px;
	top: 60px;
	z-index: 1;
	border-radius: 5px;
	width: max-content;
}

.bya_dialog_box p {
	text-align: center;
	margin: 0;
}

.bya-quantity .bya_qty_field {
	width: 75px;
	position: relative;
	height: 40px !important;
}

.bya_dialog_box:after,
.bya_dialog_box:before {
	top: -45%;
	left: 20px;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.bya_dialog_box:after {
	border-bottom-color: #333;
	border-width: 14px;
	margin-left: 0px;
}

.bya_myaccount_buy_again_wrapper .bya_table_filter_controls_wrap select,
.bya_myaccount_buy_again_wrapper .bya_table_filter_wrap select,
.bya_myaccount_buy_again_wrapper .bya_table_filter_wrap input[type='text'] {
	width: 170px;
	height: 40px;
	border-radius: 5px;
	background: #fdfdfd;
	border: 1px solid #f1f1f1;
}

.bya_myaccount_buy_again_wrapper .bya_table_filter_wrap input[type='search'] {
	padding: 0.6180469716em;
	width: 100%;
	background-color: #ededed;
	color: #43454b;
	box-sizing: border-box;
	font-weight: normal;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
	border-radius: 5px;
}

.bya-product-categories-filter-container {
	width: 100%;
	float: left;
	margin: 15px 0;
}

.bya_myaccount_buy_again_wrapper .bya-product-categories-filter-container input[type='search'] {
	background: none;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
}

.bya_myaccount_buy_again_wrapper .bya-product-categories-filter-container label {
	width: 100%;
	float: left;
	padding: 0;
	margin: 0 0 15px 0;
	color: #333;
	font-size: 16px;
	font-weight: normal;
}

.bya_myaccount_buy_again_wrapper .bya-product-categories-filter-container .select2-container {
	width: 100% !important;
}

.bya_table_filter_controls_wrap {
	background-color: #ffffff;
	padding: 20px;
	box-shadow: 1px 1px 20px 0px #E9E9E9;
	display: inline-block;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.bya_table_filter_controls_wrap .bya_product_count,
.bya_table_filter_controls_wrap .bya_product_sort_container {
	width: 50%;
	float: left;
}

.bya_table_filter_controls_wrap .bya_product_sort_container {
	text-align: right;
}

.bya_table_filter_controls_wrap .bya_filter_button_container {
	width: 100%;
	float: left;
}

.bya_table_filter_wrap,
.bya_product_table_container {
	background: #ffffff;
	margin-top: 32px;
	padding: 32px 20px 20px 20px;
	box-shadow: 1px 1px 20px 0px #E9E9E9;
	position: relative;
	float: left;
	width: 100%
}

.bya_table_filter_controls_wrap p {
	margin: 15px 0;
}

.bya-guest-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.bya-guest-user {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bya-guest-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.bya-guest-email {
	font-weight: 600;
	color: #333;
}

.bya-guest-logout-button {
	padding: 0.3em 1.8em;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 600;
	color: #ffffff;
	background: #000066;
	border: 1px solid #000066;
}

.bya-guest-logout-button:hover {
	box-shadow: 0 0 3px #000;
	background: #000;
	color: #fff;
	border: 1px solid #000;
}

.bya_table_filter_controls_wrap .bya_filter_button,
.bya_table_filter_wrap .bya-apply-filter .bya_product_search_btn {
	padding: 0.3em 1.41575em;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none;
	font-weight: 600;
	text-shadow: none;
	display: inline-block;
}

.bya_table_filter_controls_wrap .bya_filter_button,
.bya_table_filter_wrap .bya-apply-filter .bya_product_search_btn {
	color: #ffffff;
	background: #000066;
	border: 1px solid #000066;
}

.bya_table_filter_controls_wrap .bya_filter_button:hover,
.bya_table_filter_wrap .bya-apply-filter .bya_product_search_btn:hover {
	box-shadow: 0 0 3px #000;
	background: #000;
	color: #fff;
	border: 1px solid #000;
}

.bya_product_search_inp {
	width: 100%;
	padding: 10px 20px;
	border-radius: 3px;
	border: 1px solid #cccccc;
}

.bya_product_time_filter_container {
	display: inline-block;
	width: 100%;
	margin-top: 10px;
}

.bya_product_time_filter_container .bya_time_filter_wrap,
.bya_product_time_filter_container .bya_start_date_wrap,
.bya_product_time_filter_container .bya_end_date_wrap {
	width: 33%;
	float: left;
}

.bya_product_time_filter_container .bya_time_filter_wrap {
	text-align: left;
}

.bya_product_time_filter_container .bya_start_date_wrap {
	text-align: center;
}

.bya_product_time_filter_container .bya_end_date_wrap {
	text-align: right;
}

.bya-apply-filter {
	width: 100%;
	display: inline-block;
	text-align: right;
	margin-top: 10px;
}

.bya-current-page {
	height: 32px;
	margin: 0 2px 0 0;
	font-size: 13px;
	text-align: center;
	padding: 0 8px;
	line-height: 2;
	width: 50px;
	min-height: 30px;
	box-shadow: 0 0 0 transparent;
	border-radius: 4px;
	border: 1px solid #8c8f94;
	background-color: #fff;
	color: #2c3338;
}

.bya_readonly {
	opacity: 0.5;
	cursor: not-allowed !important;
	pointer-events: none;
}

@media screen and (max-width: 768px) {
	.bya_product_table_container .bya_buy_again_product_table tbody tr {
		display: block;
	}

	.bya_product_table_container .bya_buy_again_product_table thead {
		display: none;
	}

	.bya_product_table_container .bya_buy_again_product_table tr td::before {
		content: attr(data-title) ": ";
		font-weight: 700;
		float: left;
	}

	.bya_product_table_container .bya_buy_again_product_table tr td {
		display: block;
		border-right: 0;
		text-align: right !important;

	}

	.bya_product_table_container .bya_buy_again_product_table tbody td button {
		float: none;
		margin-right: 0;
	}

	.bya_product_time_filter_container,
	.bya_table_filter_controls_wrap {
		display: inline-block;
		margin-top: 15px;
	}

	.bya_product_time_filter_container .bya_time_filter_wrap,
	.bya_product_time_filter_container .bya_start_date_wrap,
	.bya_product_time_filter_container .bya_end_date_wrap,
	.bya_table_filter_controls_wrap div {
		width: 100%;
		display: block;
		float: left;
		margin: 5px 0;
	}
}

/* Product badge design */
.bya-badge {
	top: 0;
	margin: 0;
	padding: 0 10px;
	position: absolute;
	min-width: 80px;
	height: 35px;
	font-size: 16px;
	text-align: left !important;
	line-height: 35px;
	z-index: 1;
}

.buy-order-again-form-wrapper {
	float: left;
	width: 100%;
}

.buy-order-again-form-wrapper h1 {
	font-size: 24px;
	font-weight: 400;
	color: #000;
}

.buy-order-again-form-wrapper table,
.buy-order-again-form-wrapper table th,
.buy-order-again-form-wrapper table td {
	border: none !important;
}

.buy-order-again-form-wrapper table th {
	padding: 15px 10px;
	color: #000;
	background: #f8f8f8;
}

.buy-order-again-form-wrapper table td {
	padding: 10px;
	color: #222;
	border-bottom: 0;
	vertical-align: top;
}

.buy-order-again-form-wrapper table tr:nth-child(even) {
	background: #fbfbfb;
}

.bya-proceed-buy-order-again {
	border: 0;
	background: #43454b;
	border-color: 1px solid #43454b;
	color: #fff;
	cursor: pointer;
	padding: .6180469716em 1.41575em;
	text-decoration: none;
	font-weight: 600;
	text-shadow: none;
	float: right;
}

.bya-proceed-buy-order-again:disabled,
.bya-check-column:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.buy-order-again-form-wrapper table.bya-order-buy-again-table td p.out-of-stock {
	color: #f00 !important;
	font-weight: 700;
	font-size: 14px;
}

/* Container Styling */
#bya-guest-form-container {
	max-width: 450px;
	margin: 30px auto;
	padding: 25px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Form Row & Labels */
#bya_guest_form .form-row {
	margin-bottom: 20px;
}

#bya_guest_form label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
	font-size: 14px;
}

/* Input Fields */
#bya_guest_form input[type="email"],
#bya_guest_form input[type="text"] {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 16px;
	transition: border-color 0.3s, box-shadow 0.3s;
	box-sizing: border-box;
	/* Ensures padding doesn't affect width */
	margin-bottom: 12px;
}

/* Specifically handling the email input with the icon */
#bya_user_email {
	padding-right: 40px !important;
	/* Make room for your base64 icon */
}

#bya_guest_form input:focus {
	border-color: #007cba;
	box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
	outline: none;
}

/* Buttons */
#bya_guest_form button {
	width: 100%;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.3s ease;
}

/* Fetch/Send Button */
.bya-fetch-email-btn {
	background-color: #007cba;
	color: white;
}

.bya-fetch-email-btn:hover {
	background-color: #006799;
}

/* Verify Button */
.bya-verify-otp-btn {
	background-color: #4CAF50;
	color: white;
	margin-top: 10px;
}

.bya-verify-otp-btn:hover {
	background-color: #45a049;
}

/* OTP Section (when it becomes visible) */
#bya_otp_section {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

/* OTP Code specific styling */
.bya-otp-code {
	text-align: center;
	letter-spacing: 5px;
	font-weight: bold;
	font-size: 20px !important;
}

/* Feedback Messages */
#bya_form_message {
	margin-top: 15px;
	padding: 10px;
	border-radius: 4px;
	font-size: 14px;
	text-align: center;
	display: none;
}

#bya_form_message.success {
	display: block;
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

#bya_form_message.error {
	display: block;
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

#bya_resend_container {
	margin-top: 10px;
	font-size: 0.9em;
}

/* Responsive adjust */
@media (max-width: 480px) {
	#bya-guest-form-container {
		margin: 15px;
		padding: 15px;
	}
}


/* ======================================
	BYA - Cart Buy Again
========================================= */

:root {
	--bya-primary-color: #222222;
	--bya-primary-text: #ffffff;
	--bya-accent-color: #0073aa;
	--bya-bg-color: #ffffff;
	--bya-border-color: #e6e6e6;
	--bya-text-color: #333333;
	--bya-muted-text: #777777;
	--bya-radius: 4px;
}

.bya-cart-product-list-wrapper {
	margin: 40px 0;
	padding: 20px 0;
	border-top: 1px solid var(--bya-border-color);
}

.bya-title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 25px;
	color: var(--bya-text-color);
	position: relative;
	padding-bottom: 10px;
}

.bya-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background-color: var(--bya-accent-color);
}

.bya-cart-product.bya-owl-carousel-item {
	background: var(--bya-bg-color);
	border: 1px solid var(--bya-border-color);
	border-radius: var(--bya-radius);
	padding: 15px;
	text-align: center;
	transition: all 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.bya-cart-product.bya-owl-carousel-item:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
	transform: translateY(-3px);
	border-color: var(--bya-accent-color);
}

.bya-cart-product-link {
	display: block;
	margin-bottom: 15px;
	overflow: hidden;
}

img.bya_product_img {
	width: 100%;
	height: 200px;
	object-fit: contain;
	border-radius: var(--bya-radius);
	margin: 0 auto;
	transition: transform 0.3s ease;
}

.bya-cart-product-link:hover img.bya_product_img {
	transform: scale(1.05);
}

.bya-cart-product-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 8px;
	color: var(--bya-text-color);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 44px;
}

.bya-cart-product-price {
	font-size: 18px;
	font-weight: 700;
	color: var(--bya-accent-color);
	margin-bottom: 15px;
	display: block;
}

.bya_add_to_cart_container,
.bya_buy_again_container {
	width: 100%;
	margin-bottom: 8px;
}

.bya-cart-product button.button {
	width: 100%;
	padding: 10px;
	font-size: 14px;
	font-weight: 600;
	border-radius: var(--bya-radius);
	cursor: pointer;
	transition: all 0.2s ease;
	text-transform: uppercase;
	display: flex;
	justify-content: center;
	align-items: center;
}

.bya-cart-product button.bya-add-to-cart {
	background-color: transparent;
	border: 2px solid var(--bya-border-color);
	color: var(--bya-text-color);
}

.bya-cart-product button.bya-add-to-cart:hover {
	border-color: var(--bya-primary-color);
	background-color: var(--bya-primary-color);
	color: var(--bya-primary-text);
}

.bya-cart-product button.bya-buy-again {
	background-color: var(--bya-accent-color);
	border: 2px solid var(--bya-accent-color);
	color: white;
}

.bya-cart-product button.bya-buy-again:hover {
	background-color: #005177;
	border-color: #005177;
}

.bya_out_of_stock {
	font-size: 13px;
	color: #e2401c;
	background: #fff0f0;
	padding: 8px;
	border-radius: var(--bya-radius);
	margin-top: 10px;
}

.bya-owl-carousel-items {
	position: relative;
	padding: 0 5px;
}

.bya-owl-carousel-items .owl-nav button.owl-prev,
.bya-owl-carousel-items .owl-nav button.owl-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background-color: #fff !important;
	border-radius: 50% !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	color: var(--bya-text-color) !important;
	font-size: 24px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border: 1px solid #eee !important;
	transition: all 0.3s ease;
	z-index: 10;
}

.bya-owl-carousel-items .owl-nav button.owl-prev:hover,
.bya-owl-carousel-items .owl-nav button.owl-next:hover {
	background-color: var(--bya-accent-color) !important;
	color: #fff !important;
	border-color: var(--bya-accent-color) !important;
}

.bya-owl-carousel-items .owl-nav button.owl-prev {
	left: -20px;
}

.bya-owl-carousel-items .owl-nav button.owl-next {
	right: -20px;
}

.bya-owl-carousel-items .owl-dots {
	text-align: center;
	margin-top: 20px;
}

.bya-owl-carousel-items .owl-dot span {
	width: 10px;
	height: 10px;
	background: #ddd !important;
	display: block;
	border-radius: 50%;
	margin: 5px;
	transition: all 0.3s ease;
}

.bya-owl-carousel-items .owl-dot.active span {
	background: var(--bya-accent-color) !important;
	transform: scale(1.2);
}