.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.quantity-input {
	-moz-appearance: textfield;
	position: relative;
	padding-left: 1.75rem;
	padding-right: 1.75rem;
	font-size: 14px;
	height: 48px;
}

.add-to-cart-height {
	height: 48px;
	padding: 0 2rem;
}

.wishlist-btn.active {
	background-color: #fee2e2;
}

.wishlist-btn.active .heart-icon {
	fill: #ef4444;
	stroke: #ef4444;
}

@media (max-width: 1024px) {
	.add-to-cart-height {
		padding: 0.75rem 2rem;
	}
}

.feature-box {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-align: right;
}

.wc-tabs li.active a {
	background: #ff7a2f;
	color: #ffffff;
}

.woocommerce table.shop_attributes tr:nth-child(even) td,
.woocommerce table.shop_attributes tr:nth-child(even) th {
	background: unset !important;
}

#commentform .form-submit {
	display: none !important;
}

/* Hide thumb ("bullet") for display-only sliders in comments */

/* Chrome / Edge / Safari */
.rating-slider-static::-webkit-slider-thumb {
	-webkit-appearance: none !important;
	width: 0 !important;
	height: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Firefox */
.rating-slider-static::-moz-range-thumb {
	width: 0 !important;
	height: 0 !important;
	border: none !important;
	background: transparent !important;
}

/* Optional: make sure track still has height */
.rating-slider-static {
	height: 6px !important;
}


/* --- STYLES FOR RANGE SLIDER MODIFICATIONS --- */
:root {
	--slider-color: #4CAF50;
	--slider-bg: #ddd;
	--slider-thumb-size: 22px;
}

.rating-slider-container {
	display: flex;
	align-items: center;
	gap: 15px;
	position: relative;
}

.rating-value {
	display: none;
}

.rating-slider {
	flex: 1;
	height: 6px;
	-webkit-appearance: none;
	appearance: none;
	background: #ddd;
	border-radius: 5px;
	outline: none;
	direction: ltr;
}

/* WebKit (Chrome, Edge, Safari) */
.rating-slider::-webkit-slider-runnable-track {
	width: 100%;
	height: 6px;
	background: transparent;
	/* IMPORTANT: allow input background to be visible */
	border-radius: 5px;
}

/* WebKit thumb (Chrome, Edge, Safari) */
.rating-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: var(--slider-thumb-size);
	height: var(--slider-thumb-size);
	border-radius: 50%;
	cursor: pointer;

	/* white circle with green dot in the middle */
	background:
		radial-gradient(circle at center,
			var(--slider-color) 0 45%,
			/* green inner dot */
			#ffffff 46% 100%);
	/* white outer ring */

	border: 2px solid #ecf0ed;
	margin-top: -8px;
	/* adjust to vertically center on the track */
}

/* Firefox */
.rating-slider::-moz-range-track {
	width: 100%;
	height: 6px;
	background: transparent;
	/* IMPORTANT */
	border-radius: 5px;
}

.rating-slider::-moz-range-progress {
	background: var(--slider-color);
	height: 6px;
	border-radius: 5px;
}


/* Firefox thumb */
.rating-slider::-moz-range-thumb {
	width: var(--slider-thumb-size);
	height: var(--slider-thumb-size);
	border-radius: 50%;
	cursor: pointer;

	background:
		radial-gradient(circle at center,
			var(--slider-color) 0 45%,
			#ffffff 46% 100%);

	border: 2px solid #ecf0ed;
}

/* original form layout */
.review-form-left {
	flex: 1;
}

.review-form-right {
	flex: 1;
}

.custom-rating-item {
	margin-bottom: 20px;
}

.custom-rating-item label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.average-rating {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 8px;
	margin-top: 20px;
	text-align: center;
}

.average-rating-value {
	font-size: 32px;
	font-weight: bold;
	color: var(--slider-color);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border-radius: 20px !important;
	border: none !important;
	padding: 30px !important;
}


.variations .value select {
	display: none !important;
}

/* Wrapper for your custom options */
.wc-attr-boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

/* Variation box */
.wc-attr-box {
	border: 1px solid #ecf0ed;
	border-radius: 16px;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	transition: all .2s ease;
}

.wc-attr-box:hover {
	border-color: #0f8a5f44;
}

.wc-attr-box.active {
	border-color: #0f8a5f !important;
}

.wc-attr-box .check {
	width: 20px;
	height: 20px;
	border-radius: 5px;
	background: #f2f4f3;
	border: 1px solid #ecf0ed;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wc-attr-box.active .check {
	background: #0f8a5f !important;
	border-color: #0f8a5f !important;
}

.wc-attr-box.active svg {
	display: block !important;
}

.wc-attr-box svg {
	display: none;
}

.add-to-cart-btn .variations {
	display: none !important;
}

.woocommerce-variation-availability p.stock.out-of-stock {
	background-color: #fdebed;
	color: #e63946;
	text-align: center;
	padding: 0.75rem 1rem;
	border-radius: 12px;
	margin: 1rem 0;
}

.add-to-cart-btn p.stock {
	display: block;
	width: 100%;
	background: #fff3cd;
	color: #856404;
	border-color: #ffeeba;
	text-align: center;
	padding: 12px 16px;
	border-radius: 12px;
	margin: 16px 0;
}