/*
|--------------------------------------------------------------------------
| Premium WooCommerce Shop Page
|--------------------------------------------------------------------------
*/

/*
 * Main WooCommerce archive area.
 */
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.tax-product_attribute {
	background: #f7f8fc;
}

body.post-type-archive-product .woocommerce-main,
body.tax-product_cat .woocommerce-main,
body.tax-product_tag .woocommerce-main,
body.tax-product_attribute .woocommerce-main {
	width: 100%;
	padding: 32px 0 70px;
}

body.post-type-archive-product .woocommerce-main > .starline-container,
body.tax-product_cat .woocommerce-main > .starline-container,
body.tax-product_tag .woocommerce-main > .starline-container,
body.tax-product_attribute .woocommerce-main > .starline-container {
	width: min(100% - 40px, 1320px);
	max-width: 1320px;
	margin-right: auto;
	margin-left: auto;
}


/*
|--------------------------------------------------------------------------
| Breadcrumb
|--------------------------------------------------------------------------
*/

.woocommerce-main .woocommerce-breadcrumb {
	margin: 0 0 22px;
	color: #7c8495;
	font-size: 13px;
	line-height: 1.6;
}

.woocommerce-main .woocommerce-breadcrumb a {
	color: #526073;
	text-decoration: none;
}

.woocommerce-main .woocommerce-breadcrumb a:hover {
	color: var(--starline-primary, #2864c7);
}


/*
|--------------------------------------------------------------------------
| Shop Header
|--------------------------------------------------------------------------
*/

.starline-shop-page {
	width: 100%;
}

.starline-shop-page .woocommerce-products-header {
	margin: 0 0 30px;
	padding: 26px 30px;
	background: #ffffff;
	border: 1px solid #e7eaf0;
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(20, 35, 70, 0.05);
}

.starline-shop-page .woocommerce-products-header__title,
.starline-shop-page .page-title {
	margin: 0;
	color: #182033;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 800;
	line-height: 1.2;
}

.starline-shop-page .term-description {
	max-width: 760px;
	margin-top: 10px;
	color: #697386;
	font-size: 15px;
	line-height: 1.7;
}

.starline-shop-page .term-description p:last-child {
	margin-bottom: 0;
}


/*
|--------------------------------------------------------------------------
| Shop Layout
|--------------------------------------------------------------------------
*/

.starline-shop-layout {
	display: grid;
	grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
	align-items: start;
	gap: 28px;
	width: 100%;
}

.starline-shop-layout.no-sidebar {
	display: block;
}

.starline-shop-products {
	min-width: 0;
	width: 100%;
}


/*
|--------------------------------------------------------------------------
| Filter Sidebar
|--------------------------------------------------------------------------
*/

.starline-shop-sidebar {
	position: sticky;
	top: 125px;
	width: 100%;
	max-height: calc(100vh - 150px);
	overflow-x: hidden;
	overflow-y: auto;
	background: #ffffff;
	border: 1px solid #e5e9f0;
	border-radius: 16px;
	box-shadow: 0 10px 35px rgba(20, 35, 70, 0.07);
	scrollbar-width: thin;
}

.admin-bar .starline-shop-sidebar {
	top: 157px;
	max-height: calc(100vh - 182px);
}

.starline-shop-sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 20px 22px;
	border-bottom: 1px solid #e8ebf1;
}

.starline-shop-sidebar-title {
	margin: 0;
	color: #182033;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
}

.starline-shop-sidebar-content {
	padding: 0 22px 22px;
}


/*
 * Individual widget or block.
 */
.starline-shop-sidebar .widget,
.starline-shop-sidebar-content > .wp-block-group,
.starline-shop-sidebar-content > div {
	margin: 0;
	padding: 22px 0;
	border-bottom: 1px solid #edf0f4;
}

.starline-shop-sidebar .widget:last-child,
.starline-shop-sidebar-content > .wp-block-group:last-child,
.starline-shop-sidebar-content > div:last-child {
	border-bottom: 0;
}

.starline-shop-sidebar .widget-title,
.starline-shop-sidebar .wp-block-heading,
.starline-shop-sidebar h2,
.starline-shop-sidebar h3 {
	margin: 0 0 15px;
	color: #20283a;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
}


/*
 * Search form.
 */
.starline-shop-sidebar .wp-block-search__inside-wrapper,
.starline-shop-sidebar form[role="search"] {
	display: flex;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	padding: 0;
	border: 0;
}

.starline-shop-sidebar input[type="search"],
.starline-shop-sidebar input[type="text"],
.starline-shop-sidebar input[type="number"],
.starline-shop-sidebar select {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 10px 12px;
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 8px;
	color: #283044;
	font-family: inherit;
	font-size: 14px;
	outline: none;
	box-shadow: none;
}

.starline-shop-sidebar input:focus,
.starline-shop-sidebar select:focus {
	border-color: var(--starline-primary, #2864c7);
	box-shadow: 0 0 0 3px rgba(40, 100, 199, 0.12);
}


/*
 * Sidebar buttons.
 */
.starline-shop-sidebar button,
.starline-shop-sidebar input[type="submit"],
.starline-shop-sidebar .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	background: var(--starline-primary, #2864c7);
	border: 1px solid var(--starline-primary, #2864c7);
	border-radius: 8px;
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.starline-shop-sidebar button:hover,
.starline-shop-sidebar input[type="submit"]:hover,
.starline-shop-sidebar .wp-element-button:hover {
	background: var(--starline-primary-dark, #17458f);
	border-color: var(--starline-primary-dark, #17458f);
	color: #ffffff;
	transform: translateY(-1px);
}


/*
 * Product categories and filter lists.
 */
.starline-shop-sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.starline-shop-sidebar ul ul {
	margin-top: 8px;
	padding-left: 18px;
}

.starline-shop-sidebar ul li {
	position: relative;
	margin: 0;
	padding: 9px 0;
	border-bottom: 1px solid #edf0f4;
	color: #626c7e;
	font-size: 14px;
	line-height: 1.5;
}

.starline-shop-sidebar ul li:last-child {
	border-bottom: 0;
}

.starline-shop-sidebar ul li a {
	color: #3e485a;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
}

.starline-shop-sidebar ul li a:hover,
.starline-shop-sidebar ul li.current-cat > a {
	color: var(--starline-primary, #2864c7);
}


/*
 * Checkboxes and radio buttons.
 */
.starline-shop-sidebar input[type="checkbox"],
.starline-shop-sidebar input[type="radio"] {
	width: 17px;
	height: 17px;
	margin: 0 8px 0 0;
	accent-color: var(--starline-primary, #2864c7);
	vertical-align: -3px;
}


/*
 * Active filter chips.
 */
.starline-shop-sidebar [class*="filter-removable"],
.starline-shop-sidebar [class*="filter-chip"] {
	border-radius: 7px;
}

.starline-shop-sidebar a[aria-label*="Remove"],
.starline-shop-sidebar button[aria-label*="Remove"] {
	min-height: auto;
	padding: 3px 7px;
	background: transparent;
	border-color: transparent;
	color: #5d6676;
	transform: none;
}


/*
 * Price slider.
 */
.starline-shop-sidebar .price_slider_wrapper {
	padding-top: 5px;
}

.starline-shop-sidebar .price_slider {
	margin: 0 8px 18px;
	background: #dfe5ef;
}

.starline-shop-sidebar .ui-slider .ui-slider-range {
	background: var(--starline-primary, #2864c7);
}

.starline-shop-sidebar .ui-slider .ui-slider-handle {
	background: #ffffff;
	border: 3px solid var(--starline-primary, #2864c7);
}

.starline-shop-sidebar .price_slider_amount {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
}

.starline-shop-sidebar .price_slider_amount .button {
	order: 2;
}

.starline-shop-sidebar .price_label {
	color: #5f697b;
	font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| Mobile Filter Buttons
|--------------------------------------------------------------------------
*/

.starline-shop-filter-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	margin: 0 0 18px;
	padding: 10px 18px;
	background: var(--starline-primary, #2864c7);
	border: 1px solid var(--starline-primary, #2864c7);
	border-radius: 9px;
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 750;
	cursor: pointer;
}

.starline-shop-filter-close {
	display: none;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-height: 38px;
	padding: 0;
	background: #f1f3f7;
	border: 0;
	border-radius: 50%;
	color: #263044;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.starline-shop-filter-overlay {
	display: none;
}


/*
|--------------------------------------------------------------------------
| Shop Toolbar
|--------------------------------------------------------------------------
*/

.starline-shop-toolbar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px 20px;
	width: 100%;
	margin: 0 0 24px;
	padding: 15px 18px;
	background: #ffffff;
	border: 1px solid #e5e9f0;
	border-radius: 12px;
	box-shadow: 0 7px 24px rgba(20, 35, 70, 0.05);
}

.starline-shop-toolbar .woocommerce-notices-wrapper {
	flex: 0 0 100%;
	width: 100%;
}

.starline-shop-toolbar .woocommerce-result-count {
	margin: 0;
	color: #697386;
	font-size: 14px;
	line-height: 1.5;
}

.starline-shop-toolbar .woocommerce-ordering {
	margin: 0;
}

.starline-shop-toolbar .woocommerce-ordering select {
	min-width: 190px;
	min-height: 42px;
	padding: 8px 38px 8px 13px;
	background-color: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 8px;
	color: #30394b;
	font-family: inherit;
	font-size: 14px;
	outline: none;
	cursor: pointer;
}

.starline-shop-toolbar .woocommerce-ordering select:focus {
	border-color: var(--starline-primary, #2864c7);
	box-shadow: 0 0 0 3px rgba(40, 100, 199, 0.12);
}


/*
|--------------------------------------------------------------------------
| Product Grid
|--------------------------------------------------------------------------
*/

.starline-shop-products ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

.starline-shop-layout.no-sidebar
.starline-shop-products ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.starline-shop-products ul.products::before,
.starline-shop-products ul.products::after {
	display: none !important;
	content: none !important;
}


/*
|--------------------------------------------------------------------------
| Premium Product Card
|--------------------------------------------------------------------------
*/

.starline-shop-products ul.products li.product {
	position: relative;
	display: flex;
	float: none !important;
	flex-direction: column;
	width: 100% !important;
	min-width: 0;
	height: 100%;
	margin: 0 !important;
	padding: 14px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e5e9f0;
	border-radius: 14px;
	box-shadow: 0 6px 22px rgba(20, 35, 70, 0.04);
	transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.starline-shop-products ul.products li.product:hover {
	transform: translateY(-5px);
	border-color: #d8deea;
	box-shadow: 0 16px 38px rgba(20, 35, 70, 0.11);
}

.starline-shop-products ul.products li.product
.woocommerce-loop-product__link {
	display: block;
	color: inherit;
	text-decoration: none;
}


/*
 * Product image.
 */
.starline-shop-products ul.products li.product
.woocommerce-loop-product__link img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0 0 16px !important;
	padding: 12px;
	object-fit: contain;
	background: #f6f7fa;
	border-radius: 10px;
	transition: transform 0.3s ease;
}

.starline-shop-products ul.products li.product:hover
.woocommerce-loop-product__link img {
	transform: scale(1.035);
}


/*
 * Sale badge.
 */
.starline-shop-products ul.products li.product .onsale {
	position: absolute;
	z-index: 5;
	top: 24px;
	right: 24px;
	left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: auto;
	min-height: 28px;
	margin: 0;
	padding: 5px 9px;
	background: #e63b4f;
	border-radius: 6px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}


/*
 * Product title.
 */
.starline-shop-products ul.products li.product
.woocommerce-loop-product__title {
	display: -webkit-box;
	min-height: 44px;
	margin: 0 0 10px;
	padding: 0;
	overflow: hidden;
	color: #20283a;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.starline-shop-products ul.products li.product:hover
.woocommerce-loop-product__title {
	color: var(--starline-primary, #2864c7);
}


/*
 * Rating.
 */
.starline-shop-products ul.products li.product .star-rating {
	margin: 0 0 10px;
	color: #f4aa18;
	font-size: 13px;
}


/*
 * Price.
 */
.starline-shop-products ul.products li.product .price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px 8px;
	margin: 0 0 15px;
	color: var(--starline-primary, #2864c7);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.4;
}

.starline-shop-products ul.products li.product .price del {
	color: #9299a7;
	font-size: 12px;
	font-weight: 500;
	opacity: 1;
}

.starline-shop-products ul.products li.product .price ins {
	background: transparent;
	color: var(--starline-primary, #2864c7);
	font-weight: 800;
	text-decoration: none;
}


/*
 * Add-to-cart button.
 */
.starline-shop-products ul.products li.product .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 43px;
	margin: auto 0 0 !important;
	padding: 10px 14px;
	background: var(--starline-primary, #2864c7);
	border: 1px solid var(--starline-primary, #2864c7);
	border-radius: 8px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.starline-shop-products ul.products li.product .button:hover {
	background: var(--starline-primary-dark, #17458f);
	border-color: var(--starline-primary-dark, #17458f);
	color: #ffffff;
	transform: translateY(-1px);
}

.starline-shop-products ul.products li.product
.added_to_cart {
	display: block;
	margin-top: 10px;
	color: var(--starline-primary, #2864c7);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/

.starline-shop-pagination {
	width: 100%;
	margin-top: 42px;
}

.starline-shop-pagination .woocommerce-pagination {
	display: flex;
	justify-content: center;
}

.starline-shop-pagination
.woocommerce-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.starline-shop-pagination
.woocommerce-pagination ul.page-numbers li {
	margin: 0;
	border: 0;
}

.starline-shop-pagination
.woocommerce-pagination ul.page-numbers
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 6px 10px;
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 8px;
	color: #374154;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.starline-shop-pagination
.woocommerce-pagination ul.page-numbers
.page-numbers:hover,
.starline-shop-pagination
.woocommerce-pagination ul.page-numbers
.page-numbers.current {
	background: var(--starline-primary, #2864c7);
	border-color: var(--starline-primary, #2864c7);
	color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Empty Shop
|--------------------------------------------------------------------------
*/

.starline-shop-empty {
	padding: 45px 30px;
	background: #ffffff;
	border: 1px solid #e5e9f0;
	border-radius: 14px;
	text-align: center;
}


/*
|--------------------------------------------------------------------------
| Responsive Shop Layout
|--------------------------------------------------------------------------
*/

@media (max-width: 1199px) {

	.starline-shop-layout {
		grid-template-columns: 250px minmax(0, 1fr);
		gap: 22px;
	}

	.starline-shop-products ul.products,
	.starline-shop-layout.no-sidebar
	.starline-shop-products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}


@media (max-width: 991px) {

	body.post-type-archive-product .woocommerce-main,
	body.tax-product_cat .woocommerce-main,
	body.tax-product_tag .woocommerce-main,
	body.tax-product_attribute .woocommerce-main {
		padding-top: 24px;
	}

	.starline-shop-layout {
		display: block;
	}

	.starline-shop-filter-toggle {
		display: inline-flex;
	}

	.starline-shop-sidebar {
		position: fixed;
		z-index: 100002;
		top: 0;
		bottom: 0;
		left: 0;
		width: min(88vw, 360px);
		max-height: none;
		overflow-y: auto;
		border: 0;
		border-radius: 0 16px 16px 0;
		transform: translateX(-105%);
		transition: transform 0.3s ease;
	}

	.admin-bar .starline-shop-sidebar {
		top: 32px;
		max-height: none;
	}

	body.starline-filter-open .starline-shop-sidebar {
		transform: translateX(0);
	}

	.starline-shop-filter-close {
		display: inline-flex;
	}

	.starline-shop-filter-overlay {
		position: fixed;
		z-index: 100001;
		inset: 0;
		display: block;
		background: rgba(13, 20, 35, 0.56);
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transition:
			visibility 0.3s ease,
			opacity 0.3s ease;
	}

	body.starline-filter-open
	.starline-shop-filter-overlay {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
	}

	body.starline-filter-open {
		overflow: hidden;
	}

	.starline-shop-products ul.products,
	.starline-shop-layout.no-sidebar
	.starline-shop-products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}


@media (max-width: 767px) {

	body.post-type-archive-product .woocommerce-main > .starline-container,
	body.tax-product_cat .woocommerce-main > .starline-container,
	body.tax-product_tag .woocommerce-main > .starline-container,
	body.tax-product_attribute .woocommerce-main > .starline-container {
		width: min(100% - 28px, 1320px);
	}

	.starline-shop-page .woocommerce-products-header {
		margin-bottom: 22px;
		padding: 22px 20px;
		border-radius: 12px;
	}

	.starline-shop-toolbar {
		align-items: stretch;
		padding: 14px;
	}

	.starline-shop-toolbar .woocommerce-result-count {
		width: 100%;
	}

	.starline-shop-toolbar .woocommerce-ordering {
		width: 100%;
	}

	.starline-shop-toolbar .woocommerce-ordering select {
		width: 100%;
	}

	.starline-shop-products ul.products,
	.starline-shop-layout.no-sidebar
	.starline-shop-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.starline-shop-products ul.products li.product {
		padding: 11px;
		border-radius: 11px;
	}

	.starline-shop-products ul.products li.product
	.woocommerce-loop-product__link img {
		margin-bottom: 12px !important;
		padding: 8px;
	}

	.starline-shop-products ul.products li.product .onsale {
		top: 18px;
		right: 18px;
	}

	.starline-shop-products ul.products li.product
	.woocommerce-loop-product__title {
		min-height: 40px;
		font-size: 13px;
		line-height: 1.45;
	}

	.starline-shop-products ul.products li.product .price {
		font-size: 15px;
	}

	.starline-shop-products ul.products li.product .button {
		min-height: 40px;
		padding: 9px 8px;
		font-size: 12px;
	}

}


@media (max-width: 420px) {

	.starline-shop-products ul.products,
	.starline-shop-layout.no-sidebar
	.starline-shop-products ul.products {
		grid-template-columns: 1fr;
	}

	.starline-shop-products ul.products li.product {
		max-width: 360px;
		margin-right: auto !important;
		margin-left: auto !important;
	}

}


@media (max-width: 782px) {

	.admin-bar .starline-shop-sidebar {
		top: 46px;
	}

}

/*
|--------------------------------------------------------------------------
| My Account Form Switcher
|--------------------------------------------------------------------------
*/

/*
 * Show one centered form at a time.
 */
body.woocommerce-account:not(.logged-in)
.woocommerce
.u-columns {
	display: block !important;
	width: 100%;
	max-width: 570px;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.woocommerce-account:not(.logged-in)
.woocommerce
.u-column1,
body.woocommerce-account:not(.logged-in)
.woocommerce
.u-column2 {
	float: none !important;
	width: 100% !important;
	max-width: 570px;
	margin: 0 auto !important;
}


/*
 * Hide the inactive form.
 */
body.woocommerce-account:not(.logged-in)
.starline-account-form-hidden {
	display: none !important;
}


/*
|--------------------------------------------------------------------------
| Login / Register Switch Text
|--------------------------------------------------------------------------
*/

body.woocommerce-account:not(.logged-in)
.starline-account-switch-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	width: 100%;
	margin: 22px 0 0 !important;
	padding: 18px 0 0 !important;
	border-top: 1px solid #e6ebf2;
	color: #647084;
	font-size: 14px;
	line-height: 1.5;
	box-sizing: border-box;
}

body.woocommerce-account:not(.logged-in)
.starline-account-switch {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #2864c7;
	font-family: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

body.woocommerce-account:not(.logged-in)
.starline-account-switch:hover {
	background: transparent;
	color: #153f87;
}

body.woocommerce-account:not(.logged-in)
.starline-account-switch span {
	display: inline-block;
	transition: transform 0.2s ease;
}

body.woocommerce-account:not(.logged-in)
.starline-account-switch:hover span {
	transform: translateX(3px);
}

body.woocommerce-account:not(.logged-in)
.starline-account-switch:focus-visible {
	border-radius: 4px;
	outline: 3px solid rgba(40, 100, 199, 0.2);
	outline-offset: 3px;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 575px) {

	body.woocommerce-account:not(.logged-in)
	.starline-account-switch-row {
		justify-content: center;
		text-align: center;
	}

}
/*
|--------------------------------------------------------------------------
| Fix Login Button Color
|--------------------------------------------------------------------------
*/

body.woocommerce-account:not(.logged-in)
form.woocommerce-form-login
button.woocommerce-form-login__submit {
	background: #2f6fcf !important;
	background-image: none !important;
	border: 1px solid #2f6fcf !important;
	color: #ffffff !important;
	min-width: 135px;
	padding: 13px 25px !important;
	border-radius: 7px !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 6px 16px rgba(47, 111, 207, 0.25);
	opacity: 1 !important;
}

body.woocommerce-account:not(.logged-in)
form.woocommerce-form-login
button.woocommerce-form-login__submit:hover {
	background: #214f9f !important;
	border-color: #214f9f !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(47, 111, 207, 0.32);
}

body.woocommerce-account:not(.logged-in)
form.woocommerce-form-login
button.woocommerce-form-login__submit:focus {
	background: #214f9f !important;
	border-color: #214f9f !important;
	color: #ffffff !important;
	outline: 3px solid rgba(47, 111, 207, 0.2);
	outline-offset: 2px;
}
/*
|--------------------------------------------------------------------------
| Final Desktop Shop Sidebar Fix
|--------------------------------------------------------------------------
*/

/*
 * Give WooCommerce filter blocks enough space.
 */
@media (min-width: 992px) {

	.starline-shop-layout.has-sidebar {
		grid-template-columns: 300px minmax(0, 1fr);
		gap: 26px;
	}

	/*
	 * Remove the internal sidebar scrollbar.
	 * The complete sidebar will scroll naturally with the page.
	 */
	.starline-shop-sidebar {
		position: relative !important;
		top: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}

	.admin-bar .starline-shop-sidebar {
		top: auto !important;
		max-height: none !important;
	}

	/*
	 * The close button is required only inside
	 * the mobile filter drawer.
	 */
	.starline-shop-sidebar
	.starline-shop-filter-close {
		display: none !important;
	}

	/*
	 * Hide WooCommerce's extra mobile Filters button
	 * when filters are already visible in the sidebar.
	 */
	.starline-shop-sidebar
	.wc-block-product-filters__open-overlay,

	.starline-shop-sidebar
	.wc-block-product-filters__overlay-button {
		display: none !important;
	}

}


/*
|--------------------------------------------------------------------------
| Sidebar Content Width
|--------------------------------------------------------------------------
*/

.starline-shop-sidebar,
.starline-shop-sidebar * {
	box-sizing: border-box;
}

.starline-shop-sidebar-content {
	width: 100%;
	padding: 0 18px 20px;
}

.starline-shop-sidebar .widget,
.starline-shop-sidebar-content > div,
.starline-shop-sidebar-content > section,
.starline-shop-sidebar-content > .wp-block-group {
	width: 100%;
	max-width: 100%;
	overflow: visible;
}


/*
|--------------------------------------------------------------------------
| Sidebar Header
|--------------------------------------------------------------------------
*/

.starline-shop-sidebar-header {
	min-height: 64px;
	padding: 18px;
}

.starline-shop-sidebar-title {
	font-size: 18px;
}


/*
|--------------------------------------------------------------------------
| Fix Product Search
|--------------------------------------------------------------------------
*/

.starline-shop-sidebar .wp-block-search,
.starline-shop-sidebar .wc-block-product-search {
	display: block;
	width: 100%;
	margin: 0;
}

.starline-shop-sidebar .wp-block-search__label {
	display: block;
	width: 100%;
	margin: 0 0 9px;
	color: #30394b;
	font-size: 14px;
	font-weight: 600;
}

.starline-shop-sidebar
.wp-block-search__inside-wrapper {
	display: flex !important;
	align-items: stretch;
	width: 100%;
	gap: 7px;
}

.starline-shop-sidebar
.wp-block-search__input,

.starline-shop-sidebar
.wc-block-product-search__field {
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0 !important;
	height: 42px;
	margin: 0 !important;
	padding: 8px 10px !important;
}

.starline-shop-sidebar
.wp-block-search__button,

.starline-shop-sidebar
.wc-block-product-search__button {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 72px;
	height: 42px;
	margin: 0 !important;
	padding: 8px 12px !important;
	white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| Categories and Filter Items
|--------------------------------------------------------------------------
*/

.starline-shop-sidebar ul li {
	padding: 8px 0;
	font-size: 13px;
}

.starline-shop-sidebar ul ul {
	padding-left: 14px;
}

.starline-shop-sidebar ul li a {
	display: inline;
	line-height: 1.5;
}

.starline-shop-sidebar
.wc-block-product-filters,

.starline-shop-sidebar
.wp-block-woocommerce-product-filters {
	width: 100%;
	max-width: 100%;
	overflow: visible;
}

.starline-shop-sidebar
.wc-block-components-filter-reset-button,

.starline-shop-sidebar
.wc-block-product-filter-clear-button {
	width: 100%;
}


/*
|--------------------------------------------------------------------------
| Mobile Drawer Restore
|--------------------------------------------------------------------------
*/

@media (max-width: 991px) {

	.starline-shop-sidebar {
		position: fixed !important;
		top: 0 !important;
		bottom: 0;
		left: 0;
		width: min(88vw, 360px);
		max-height: 100dvh !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
	}

	.admin-bar .starline-shop-sidebar {
		top: 32px !important;
		max-height: calc(100dvh - 32px) !important;
	}

	.starline-shop-sidebar
	.starline-shop-filter-close {
		display: inline-flex !important;
		width: 38px !important;
		min-width: 38px !important;
		height: 38px !important;
		min-height: 38px !important;
		padding: 0 !important;
		background: #f1f3f7 !important;
		border: 0 !important;
		color: #263044 !important;
	}

}


@media (max-width: 782px) {

	.admin-bar .starline-shop-sidebar {
		top: 46px !important;
		max-height: calc(100dvh - 46px) !important;
	}

}
/*
|--------------------------------------------------------------------------
| Global WooCommerce View Cart Button
|--------------------------------------------------------------------------
*/

a.added_to_cart.wc-forward {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 42px;
	margin: 8px 0 0 !important;
	padding: 10px 14px !important;
	background: #ffffff !important;
	border: 1px solid #2864c7 !important;
	border-radius: 7px !important;
	color: #2864c7 !important;
	font-family: inherit;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	box-sizing: border-box;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

a.added_to_cart.wc-forward:hover {
	background: #2864c7 !important;
	border-color: #2864c7 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}

a.added_to_cart.wc-forward:focus-visible {
	outline: 3px solid rgba(40, 100, 199, 0.2);
	outline-offset: 2px;
}


/*
 * Keep both buttons properly aligned.
 */
.woocommerce ul.products li.product a.button.added,
.starline-product-card a.button.added,
.starline-product-item a.button.added {
	width: 100%;
	margin-bottom: 0 !important;
}


/*
 * Mobile view.
 */
@media (max-width: 767px) {

	a.added_to_cart.wc-forward {
		min-height: 40px;
		margin-top: 7px !important;
		padding: 9px 10px !important;
		font-size: 12px !important;
	}

}
/* =========================================================
   WooCommerce Block Cart - Proceed to Checkout Hover Fix
   ========================================================= */

.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-cart .wc-block-components-button,
.woocommerce-cart a.wc-block-cart__submit-button {
    background: #16a34a !important;
    border: 1px solid #16a34a !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transition: background-color .25s ease,
                border-color .25s ease,
                color .25s ease !important;
}

/* Button inner text */
.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text,
.woocommerce-cart .wc-block-components-button .wc-block-components-button__text {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hover */
.woocommerce-cart .wc-block-cart__submit-button:hover,
.woocommerce-cart .wc-block-components-button:hover,
.woocommerce-cart a.wc-block-cart__submit-button:hover {
    background: #15803d !important;
    border-color: #15803d !important;
    color: #ffffff !important;
}

/* Force text to remain white on hover */
.woocommerce-cart .wc-block-cart__submit-button:hover .wc-block-components-button__text,
.woocommerce-cart .wc-block-components-button:hover .wc-block-components-button__text {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Also protect against global theme link hover color */
.woocommerce-cart a.wc-block-cart__submit-button:hover,
.woocommerce-cart a.wc-block-cart__submit-button:focus,
.woocommerce-cart a.wc-block-cart__submit-button:active {
    color: #ffffff !important;
    text-decoration: none !important;
}