/* ==========================================================================
   Frontend Stylesheet (Refactored)
   NOTE:
   - Organized for readability.
   - Redundant empty rule removed.
   - Stray brace removed.
   - Visual styles preserved.
   ========================================================================== */

/* global styles */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	/* Adjust this to account for your fixed header height */
}

.rsaps-btn {
	padding: 2px 6px;
	color: #ffff;
	background-color: #0066cc;
	border: 1px solid transparent;
	border-radius: 5px;
}

.rsaps-btn:hover {
	color: #0066cc;
	background-color: #ffff;
	border: 1px solid #0066cc;
	border-radius: 5px;
}

/* ----------- overrride css ------------ */
td.aps-attr-value {
	background: white !important;
}

td.aps-attr-title {
	background: #f7f8f9 !important;
}

.aps-product-pros li:before,
.aps-product-cons li:before {
	padding: 0px !important;
}

span.aps-status-badge {
	padding: 4px 8px;
}

.aps-product-meta .aps-feature-price-variant {
	margin-top: -10px;
	padding: 10px 0;
}

.aps-product-status {
	padding-top: 0px;
}

.aps-group {
	margin-bottom: 20px;
}


/* image  */

.aps-single-main-content-rs {
	border-top: 1px solid #e3e3e3;
	padding-top: 10px;
}

.aps-main-image.aps-main-img-zoom {
	border-radius: 10px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
}

.aps-thumb-item img {
	border-radius: 5px;
}

/* featurs  */
ul.aps-features-iconic {
	padding: 10px;
	border-radius: 5px;
}


.aps-main-features {
	margin-bottom: 10px;
}

.aps-advance-search,
.aps-advance-menu-item,
.aps-advance-price-item,
.aps-display-controls ul li,
.aps-current-dp,
.aps-comps-card,
.aps-rating-card,
.aps-cons-bg,
.aps-pros-bg,
.aps-product-price-card .aps-price-card,
.aps-disclaimer,
.schema-faq,
#apsReviewForm ul,
.aps-table-types,
.aps-table-price-range,
.aps-pros-cons .wp-block-column,
.aps-sort-controls ul,
.aps-brands-controls ul,
.aps-cats-controls ul,
.aps-thumb-item,
.aps-information,
.aps-features-iconic,
.aps-column .wp-block-table,
.aps-blog-item,
.aps-comps li,
.aps-wd-compares li,
.aps-best-feature-link,
.aps-feature-brand,
.aps-widget-blog-card,
.aps-filter-item-chip {
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
	border-radius: 5px;
}



/**
 *  =========== APS Custom Features =========
 */

.rsaps-product-title-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 2px 0 10px;
}

.rsaps-product-title-meta__items {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.rsaps-product-title-meta__item {
	display: inline-flex;
	align-items: center;
	color: #555555;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
}

.rsaps-product-title-meta__compare {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 36px;
	padding: 8px 16px;
	border: 1px solid #111111;
	border-radius: 6px;
	background: #111111;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
}

.rsaps-product-title-meta__compare .aps-compare-cb {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.rsaps-product-title-meta__compare .aps-compare-stat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.rsaps-product-title-meta__status {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.rsaps-product-title-meta__compare:hover,
.rsaps-product-title-meta__compare:focus {
	background: #333333;
	border-color: #333333;
	color: #ffffff;
}

.aps-main-title {
	margin: 0 0 0px;

}

span.aps-product-price {
	width: 100%;
	display: block;
	padding: 10px 50px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}

.aps-feature-price-variant {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	width: 100%;
	max-width: 100%;
	margin: 0 0 12px;
	box-sizing: border-box;
	overflow: hidden;
	padding: 10px 0;
}

.aps-feature-price-variant--full {
	scroll-margin-top: 24px;
}

.aps-variant-row {
	position: relative;
	flex: 1 1 45%;
	display: flex;
	flex-direction: column;
	padding: 10px 20px;
	margin: 0 0 8px;
	box-sizing: border-box;
	border: 1px solid #ececec;
	border-radius: 5px;
	background: #ffffff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.aps-variant-main-line {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-width: 0;
}

.aps-variant-info-block {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.aps-variant-name {
	display: block;
	min-width: 0;
	font-size: 14px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.aps-status-inline-badge {
	position: absolute;
	top: -5px;
	right: 0px;
	width: max-content;
	max-width: 100%;
	padding: 2px 6px;
	border-radius: 5px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	z-index: 99;
}


span.aps-status-inline-badge.badge-unofficial {
	color: #be7234;
	background: #ffe3cb;
}

span.aps-status-inline-badge.badge-official {
	color: #044f8f;
	background: #d7edff;
}

span.aps-status-inline-badge.badge-expected {
	color: #044f8f;
	background: #ffe3cb;
}



.aps-variant-price-block {
	display: flex;
	align-items: center;
	gap: 8px;
}

.aps-variant-price-block {
	flex: 0 0 auto;
	text-align: right;
	white-space: nowrap;
}

.aps-reg-price-faded {
	margin-bottom: 2px;
	color: #888888;
	font-size: 15px;
	line-height: 1.25;
	text-decoration: line-through;
	opacity: 0.75;
}

.aps-active-price {
	color: #0066cc;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.aps-variant-discount-savings {
	position: absolute;
	bottom: -10px;
	left: 0px;
	color: #2e7d32;
	background-color: #dfece5;
	width: max-content;
	max-width: 100%;
	padding: 2px 6px;
	border-radius: 5px;
	font-size: 10px;
	font-weight: 700;
}

.aps-feature-price-more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

p.aps-feature-updated-on {
	margin: 0px;
}



.rsaps-top-features {
	margin: 0;
}

.rsaps-top-features__title {
	margin: 0 0 20px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
}

.rsaps-top-features__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	padding: 5px 5px;

	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;

	text-align: center;

	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);

	transition: all .25s ease;
}

.rsaps-top-features__item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.rsaps-top-features__icon {
	margin-bottom: 4px;
}

.rsaps-top-features__icon img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
	margin: 0 auto;
}

.rsaps-top-features__label {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	color: #222222;
	word-break: break-word;
}


/* ===================== product image top badge ===================*/
.aps-single-product .aps-row {
	position: relative;
}

.aps-single-product .aps-row>.aps-column:first-child {
	position: relative;
}

.aps-custom-badge-container {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 20;
	pointer-events: none;
}



/* APS pages styling  */
.aps-container {
	box-shadow: 0 0 8px 0 #d4d4d4;
	padding: 30px;
}


/* Sidebar  */
/*new arrival widget design */
ul.aps-wd-products.aps-row-mini.clearfix.aps-wd-grid li {
	list-style: none;
}

/*sticky sidebar */

/* .elementor-element.elementor-element-11552ab.elementor-widget.elementor-widget-sidebar {
    position: sticky;
    top: 20px;
} */

/*Brands */
ul.aps-brands-list.aps-brands-v-grid li {
	list-style: none;
}

ul.aps-brands-list.aps-brands-v-grid li a:hover {
	background: #0073e6;

}

/*all */
.aps-widget h3,
.aps-widget h2,
.aps-tab-title,
.aps-feature-price-variant__title {
	font-size: 22px;
	border-bottom: 1px solid #dee0e3;
}

.aps-widget h2::after,
.aps-widget h3::after,
.aps-tab-title::after,
.aps-feature-price-variant__title::after {
	content: "";
	display: block;
	width: 70px;
	height: 3px;
	background: #0073e6;

}


/* Box shadows  */
.aps-group {
	box-shadow: 0 0 4px #cdcdcd;
}

ul.aps-wd-products.aps-row-mini.clearfix.aps-wd-grid li {
	box-shadow: 0 0 4px #cdcdcd;
}

ul.aps-brands-list.aps-brands-v-grid li a {
	box-shadow: 0 0 4px #cdcdcd;
}

ul.aps-wd-products.aps-row-mini.clearfix.aps-wd-grid li a {
	border: none !important;
}

/* text colors  */
ul.aps-brands-list.aps-brands-v-grid li a {
	color: black;
	border-radius: 4px;
}

span.aps-wd-title {
	color: black;
}

/* ======= APS Templates ==== */
.aps-container {
	max-width: 1230px !important;
}


/* breadcrumb */
ol.apscrumbs li a {
	color: black;
}

ol.apscrumbs li a:hover {
	color: #0073e6;
}

/* title  */
.aps-main-title {
	margin: 0;
	font-weight: 700 !important;
	line-height: 1;
	font-size: clamp(22px, 4vw, 32px) !important;
	color: black;
}

/* image badge */
.aps-spec-badge {
	color: #ffffff;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	display: inline-block;
	border-radius: 10px 0 10px 0;
	text-align: center;
}


p.aps-spec-badge strong {
	font-size: 22px;
	font-weight: 800;
	text-align: center;
}



/* top featurs  */
.aps-product-meta .aps-feature-price-variant {
	padding: 10px 0 0 0 !important;
}

/* Specifications  */
.aps-attr-co,
.aps-1co,
.aps-2co,
.aps-3co,
.aps-4co,
.aps-5co {
	min-height: auto;
	padding: 3px 10px;
}


/* ------------- Rating section ------------*/

.aps-pub-rating li {
	width: 50% !important;
	float: left !important;
}

.aps-rating-card {
	padding: 20px 15px 0;
}

.aps-pub-rating li {
	padding: 0 5px !important;
}

.aps-rating-box.aps-animated {
	border-radius: 5px;
}


/*-------------- Pros cons --------------*/

.aps-proscons-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 0 10px 20px;
}

.aps-product-proscons {
	padding: 0px;
	margin-bottom: 0px;
}


.aps-pros-title,
.aps-cons-title {
	margin: 0 0 20px;
}


.aps-pros-pros,
.aps-cons-cons {
	height: 40px;
}

.aps-pros-arrow:before,
.aps-cons-arrow:before {
	border-top: 20px solid transparent !important;
	border-bottom: 20px solid transparent !important;
	right: -14px !important;
}

.aps-pros-arrow:after,
.aps-cons-arrow:after {
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
}

.aps-product-pros li:before,
.aps-product-cons li:before {
	border-radius: 5px !important;
	margin-top: 4px !important;
}

.aps-product-pros li,
.aps-product-cons li {
	margin: 0;
}

.aps-pros-circle,
.aps-cons-circle {
	top: -3px;
	border-radius: 5px;
	padding: 5px 8px !important;
}

.aps-pros-bg {
	background-color: #f4faf7;
}

.aps-cons-bg {
	background-color: #fff8f9;
}

.rsaps-top-features__grid {
	padding: 10px 0;
}


/* ------------------- New arrivals ------------------ */
.aps-wd-products.aps-row-mini.aps-wd-grid li {
	width: 30%;
	margin: 5px;
	border-radius: 5px;
}



/* Container */
.rsaps-top-features__grid {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 5px;
	/* Adds space between your feature items */
	padding-bottom: 10px;
	/* Leaves space so the scrollbar doesn't hug the content */
	scroll-behavior: smooth;
}

/* Individual Feature Items (Assumed child div) */
.rsaps-top-features__grid>div {
	flex: 0 0 80px;
	/* Ensures every item is exactly 280px wide and won't shrink */
	/* Alternative: use a percentage like flex: 0 0 calc(33.333% - 14px); for exactly 3 items per view */
	box-sizing: border-box;
}

/* Modern & Premium Scrollbar Styling */

/* 1. The Track (Background) */
.rsaps-top-features__grid::-webkit-scrollbar {
	height: 4px;
}

/* 2. The Track Base */
.rsaps-top-features__grid::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

/* 3. The Draggable Handle */
.rsaps-top-features__grid::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 10px;
	transition: background 0.3s ease;
}

/* 4. Handle Hover Effect */
.rsaps-top-features__grid::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
	/* Darkens slightly on hover for a premium interactive feel */
}

/* Firefox Specific Styling */
@supports (scrollbar-width: thin) {
	.rsaps-top-features__grid {
		scrollbar-width: thin;
		scrollbar-color: #c1c1c1 #f1f1f1;
	}
}



/* ovveriding default styling  */

.aps-product-meta {
	margin-bottom: -10px !important;
}


/* Mobile responsiveness */

@media (max-width: 768px) {

	.aps-container {
		padding: 15px;
	}

	.rsaps-product-title-meta {
		align-items: flex-start;
	}

	.rsaps-top-features__item {
		padding: 5px 8px;
	}

	.aps-variant-main-line {
		align-items: center;
	}

	.rsaps-top-features__icon img {
		width: 15px;
		height: 15px;
	}


	.aps-product-pic {
		margin: 0 0 8px 0 !important;
	}

	.aps-content,
	.aps-sidebar {
		padding-left: 7px;
		padding-right: 7px;
	}


	.aps-spec-badge {
		padding: 3px 6px;
		font-size: 12px;
		font-weight: 600;
	}


	p.aps-spec-badge strong {
		font-size: 18px;
		font-weight: 700;
		text-align: center;
	}

	/* pros cons  */
	.aps-row .aps-proscons-row {
		flex-direction: column;
	}
}