/* Frontend Theme Switcher */
#fts-switcher {
	display: block !important;
	position: fixed;
	top: 40%;
	right: 48px;
	z-index: 999999;
	font-size: 14px;
	line-height: 1.4;
}
#fts-switcher .fts-toggle {
	all: revert;
	display: flex;
	align-items: center;
	gap: 6px;
	background: #2a3edd;
	color: #fff;
	border: none;
	border-radius: 24px;
	padding: 10px 16px;
	cursor: grab;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	transition: background 0.2s, box-shadow 0.2s;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
}

#fts-switcher .fts-toggle:hover,
#fts-switcher .fts-toggle[aria-expanded="true"] {
	background: #2271b1;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

#fts-switcher .fts-toggle svg {
	fill: currentColor;
	flex-shrink: 0;
}

#fts-switcher.fts-dragging .fts-toggle,
#fts-switcher.fts-dragging {
	cursor: grabbing;
	user-select: none;
}

.fts-panel {
	position: absolute;
	bottom: calc(100% + 10px);
	right: 0;
	left: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
	padding: 16px;
	width: 220px;
	display: none;
	flex-direction: column;
	gap: 10px;
}

.fts-panel:not([hidden]) {
	display: flex;
}

/* Panel opens leftward (button on right side) — default */
.fts-panel-right .fts-panel {
	right: 0;
	left: auto;
}

/* Panel opens rightward (button on left side) */
.fts-panel-left .fts-panel {
	left: 0;
	right: auto;
}

.fts-label {
	font-weight: 600;
	color: #1d2327;
	font-size: 13px;
}

.fts-select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	font-size: 13px;
	color: #1d2327;
	cursor: pointer;
	appearance: auto;
}

.fts-select:focus {
	outline: 2px solid #2271b1;
	outline-offset: 1px;
	border-color: #2271b1;
}

.fts-note {
	margin: 0;
	font-size: 11px;
	color: #787c82;
}

/* Loading overlay */
.fts-panel {
	position: relative;
}

.fts-panel--loading::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.75);
	border-radius: 8px;
	z-index: 1;
}

.fts-spinner {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 28px;
	height: 28px;
	z-index: 2;
}

.fts-panel--loading .fts-spinner {
	display: block;
}

.fts-spinner::before {
	content: '';
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 3px solid #e0e0e0;
	border-top-color: #2a3edd;
	animation: fts-spin 0.7s linear infinite;
}

@keyframes fts-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
	#fts-switcher {
		bottom: 16px;
		right: 16px;
	}

	.fts-panel {
		width: 190px;
	}
}

.home .entry-content ul.wc-block-grid__products,
.home #left-area ul {
	padding-left: 0;
}

.theme-astra a,
.theme-Divi a,
.theme-flatsome a,
.theme-hello-elementor a,
.theme-shoptimizer a,
.theme-woodmart a {
    color: #2a3edd;
}
.theme-astra .site-header .site-title a,
.theme-astra .site-header ul.menu li a {
    color: var(--ast-global-color-3);
}
.theme-astra .pewc-group-heading-wrapper h3 {
    font-size: 18px !important;
}
.theme-astra h4.pewc-field-label {
	font-size: 16px;
}

.theme-blocksy header#header.ct-header [data-row] {
    background: #333;
}
.theme-blocksy header#header.ct-header [data-row] a {
    color: #fff
}

.theme-Divi #left-area,
.theme-Divi.et_right_sidebar #left-area {
	width: 100%;
	float: none;
	padding-right: 0;
}
.theme-Divi #main-content .container:before {
	display: none
}
.theme-Divi p:not(.has-background):last-of-type {
    padding-bottom: 1em;
}
.theme-Divi.woocommerce div.product p.price,
.theme-Divi.woocommerce-page div.product p.price {
	margin: 1em 0
}
.theme-Divi .wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
	color: #fff;
}
.theme-Divi.pewc-swatch-grid .pewc-radio-images-wrapper:not(.pewc-components-wrapper),
.theme-Divi.pewc-swatch-grid .pewc-checkboxes-images-wrapper:not(.pewc-components-wrapper) {
    grid-gap: 4px;
}

.theme-flatsome .col-inner ul li {
	margin-left: 0;
}
.theme-flatsome a.quick-view.quick-view-added {
    display: none;
}
.theme-flatsome .category-page-row .col.large-3.hide-for-medium {
	display: none;
}
.theme-flatsome .category-page-row .col.large-9 {
	width: 100%;
	max-width: 100%;
	flex-basis: 100%;
}
.theme-flatsome .wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
	color: #fff;
}
.theme-flatsome .product-main .row.content-row {
	flex-flow: nowrap;
}
.theme-flatsome .product-info.summary {
	width: 50%
}
.theme-flatsome.pewc-swatch-grid .pewc-radio-images-wrapper:not(.pewc-components-wrapper),
.theme-flatsome.pewc-swatch-grid .pewc-checkboxes-images-wrapper:not(.pewc-components-wrapper) {
    grid-gap: 4px;
}

body.theme-hello-elementor {
    background: #333;
}
.theme-hello-elementor .site-header {
	padding: 2rem 0
}
.theme-hello-elementor .site-header .site-branding {
	width: auto;
}
.theme-hello-elementor .site-header .site-title {
    font-size: 1.55rem;
    font-weight: 900;
    /* line-height: 1.2; */
}
.theme-hello-elementor .site-header a {
    color: #fff;
}
.theme-hello-elementor .site-header ul.menu ul li a {
    color: #111;
}
.theme-hello-elementor .content-area,
.theme-hello-elementor .main-wrapper {
	background: #fff;
	padding: 2rem 0;
}
.theme-hello-elementor .site-footer {
	background: #333
}
.theme-hello-elementor .wp-block-button a {
	color: #fff;
	text-decoration: none;
}
.theme-hello-elementor h2.wp-block-heading {
	margin-top: 3rem
}
.theme-hello-elementor.woocommerce div.product form.cart .button {
	height: 42px;
	background-color: #2a3edd
}

body.theme-shoptimizer .site .site-header {
    background: #333;
    color: #fff;
}
.theme-shoptimizer .site-branding a {
	color: #fff
}
.theme-shoptimizer.right-page-sidebar .content-area,
.theme-shoptimizer.right-post-sidebar .content-area,
.theme-shoptimizer.right-sidebar .content-area,
.theme-shoptimizer.left-woocommerce-sidebar .content-area {
	float: none;
	width: 100%
}
.theme-shoptimizer h2.wp-block-heading {
	margin-top: 3rem
}
.theme-shoptimizer.pewc-swatch-grid .pewc-radio-images-wrapper:not(.pewc-components-wrapper),
.theme-shoptimizer.pewc-swatch-grid .pewc-checkboxes-images-wrapper:not(.pewc-components-wrapper) {
    grid-gap: 4px;
}
.theme-shoptimizer ul.pewc-product-extra-groups.cols-2 {
	grid-template-columns: 1fr;
}
.theme-shoptimizer.pewc-swatch-grid .pewc-radio-images-wrapper:not(.pewc-components-wrapper),
.theme-shoptimizer.pewc-swatch-grid .pewc-checkboxes-images-wrapper:not(.pewc-components-wrapper) {
	grid-gap: 5px;
}
.theme-shoptimizer .pewc-has-hex .pewc-radio-images-wrapper[class*=" pewc-columns-"] .pewc-radio-image-wrapper {
	width: 50px;
}
.theme-shoptimizer .pewc-hex {
	height: 50px;
	width: 50px
}

.theme-woodmart h2.wp-block-heading {
	margin-top: 3rem
}
.theme-woodmart .wd-nav-product-cat {
	display: none;
}
.theme-woodmart .wc-block-grid li.wc-block-grid__product {
    font-size: 16px !important;
}