/* __________________________________________________ */
/* ------store------- */
/* __________________________________________________ */

.bg_height {
	height: 300px;
}

.man_bg {

	/* position: absolute; */
	text-align: right;
	font-size: 45px !important;
	line-height: 1.5;
	font-weight: 600;
	/* padding-top: 100px; */
	text-transform: none;
	/* padding-left: 130px; */
	margin-bottom: 289px;

}

:root {
	--first-color: #e3f8ff;
	--second-color: #dcfafb;
	--third-color: #ffe8df;
	--accent-color: #ff5151;
	--dark-color: #161616;

	--body-font: "Open Sans";
	--h1-font-size: 1.5rem;
	--h3-font-size: 1rem;
	--normal-font-size: 0.938rem;
	--smaller-font-size: 0.75rem;
}

@media screen and (min-width: 768px) {
	:root {
		--h1-font-size: 2rem;
		--normal-font-size: 1rem;
		--smaller-font-size: 0.813rem;
	}
}

*,
::after,
::before {
	box-sizing: border-box;
}



a {
	text-decoration: none;
}

.custom-row-gap {
	row-gap: 1rem;
	/* Adjust the gap size as needed */
}

.custom-gap {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	/* Adjust the gap size as needed */
}

.bd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	max-width: 1200px;
	margin-left: 2.5rem;
	margin-right: 2.5rem;
	align-items: center;
	gap: 2rem;
}

.title-shop {
	position: relative;
	margin: 0 2.5rem;
}

.title-shop::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 72px;
	height: 2px;
	background-color: var(--dark-color);
	margin-left: 0.25rem;
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* padding: 1.5rem 2rem; */
	border-radius: 1rem;
	overflow: hidden;
	cursor: pointer;
	height: 300px;
}

.card img {
	max-width: 100%;
	height: auto;
}

/* 
.card:hover {
	box-shadow: 0 0.5rem 1rem #d1d9e6;
}

.card:hover .card-name {
	left: 0;
}

.card:hover .card-img {
	transform: rotate(30deg);
	margin-left: 3.5rem;
}

.card:hover .card-prices {
	margin-left: 3.5rem;
	padding: 0 1.5rem;
} */

article:nth-child(1) {
	background-color: var(--first-color);
}

article:nth-child(2) {
	background-color: var(--second-color);
}

article:nth-child(3) {
	background-color: var(--third-color);
}

article:nth-child(4) {
	background-color: var(--second-color);
}

.card-img {
	width: 180px;
	height: auto;
	/* padding: 1rem 0; */
	padding-top: 2rem;
	transition: 0.5s;
}

.card-name {
	position: absolute;
	left: -25%;
	top: 0;
	width: 3.5rem;
	height: 100%;
	text-align: center;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	background-color: #6e0006;
	color: #fff;
	font-weight: bold;
	transition: 0.5s;
	text-transform: uppercase;
}

.card-icon {
	font-size: 1.5rem;
	color: var(--dark-color);
}

/* .card-icon:hover {
	color: var(--accent-color);
} */

.card-prices {
	width: 100%;
	display: flex;
	/* justify-content: space-between; */
	justify-content: center;
	align-items: center;
	transition: 0.5s;
	/* margin-top: 30px; */
	margin-top: 15px;
}

.card-price {
	display: block;
	text-align: center;
}

.card-price-before {
	/* font-size: var(--smaller-font-size); */
	font-size: 18px;
	/* color: var(--accent-color); */
	color: #800214;
	margin-bottom: 0.25rem;
}

.card-price-now {
	font-size: var(--h3-font-size);
	font-weight: bold;
}

@media screen and (min-width: 1200px) {
	body {
		margin: 3rem 0 0 0;
	}

	.title-shop {
		margin: 0.5rem;
	}

	.bd-grid {
		margin-left: auto;
		margin-right: auto;
	}
}

.form-control-range {
	width: 100%;
	margin: 20px 0;
}

/* Style for the range input */
input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 10px;
	border-radius: 5px;
	background: linear-gradient(90deg, #6e0006, #ff4e50);
	outline: none;
	cursor: pointer;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* Custom styling for the slider thumb */
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #ff4e50;
	border: 2px solid #6e0006;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
	transition: background-color 0.2s, transform 0.2s;
}

input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #ff4e50;
	border: 2px solid #6e0006;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
	transition: background-color 0.2s, transform 0.2s;
}

/* Change the thumb color and scale slightly on hover */
/* input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]::-moz-range-thumb:hover {
	background-color: #ff7073;
	transform: scale(1.1);
} */

/* Focus styles for accessibility */
input[type="range"]:focus::-webkit-slider-thumb {
	outline: 3px solid rgba(255, 78, 80, 0.4);
}

input[type="range"]:focus::-moz-range-thumb {
	outline: 3px solid rgba(255, 78, 80, 0.4);
}

/* .form-control-range{
	  width: 100%;
  } */

.filter-header {
	font-weight: bold;
	font-size: 30px;
}

.filter-body {
	border: 1px solid rgba(0, 0, 0, 0.125);

	border-radius: 10px;
}

.filter-title {
	font-weight: bold;
	font-size: 20px;
	/* padding-bottom: 14px; */
	margin-bottom: 15px;
}

/* 
.page-link:hover {
	background-color: #6e0006;
} */

.checkboxes__row {
	display: flex;
}

.checkboxes__row:not(:last-child) {
	border-bottom: 1px solid #eee;
}

.checkboxes__item {
	padding: 5px 0px 5px 0px;
	width: 100%;
}

.checkbox.style-d {
	display: inline-block;
	position: relative;
	padding-left: 30px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.checkbox.style-d input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkbox.style-d input:checked~.checkbox__checkmark {
	background-color: #6e0006;
}

.checkbox.style-d input:checked~.checkbox__checkmark:after {
	opacity: 1;
}

/* .checkbox.style-d:hover input~.checkbox__checkmark {
	background-color: #eee;
}

.checkbox.style-d:hover input:checked~.checkbox__checkmark {
	background-color: #6e0006;
}

.checkbox.style-d:hover input~.checkbox__body {
	color: #6e0006;
} */

.checkbox.style-d .checkbox__checkmark {
	position: absolute;
	top: 1px;
	left: 0;
	height: 22px;
	width: 22px;
	background-color: #eee;
	transition: background-color 0.25s ease;
	border-radius: 11px;
}

.checkbox.style-d .checkbox__checkmark:after {
	content: "";
	position: absolute;
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.checkbox.style-d .checkbox__body {
	color: #454646;
	line-height: 1.4;
	font-size: 13px;
	transition: color 0.25s ease;
	position: relative;
	top: 3px;
}

.accordion-item {
	border-bottom: 1px solid hsl(356.73deg 100% 21.57% / 21%);
}

.accordion-button {
	background: rgb(110 0 6 / 10%);
	border-radius: 0;
	padding: 0px 10px;
	text-transform: capitalize;
}

/* .accordion-item:last-of-type {
	border-bottom: 0;
  } */
.accordion-collapse.collapse.show .accordion-item {
	border-bottom: 1px solid hsl(356.73deg 100% 21.57% / 21%);
}

.accordion-button:not(.collapsed) {
	background: #6e0006;
	color: #fff;
}

.accordion-button::before {
	background: #6e0006;
}

.accordion-button:not(.collapsed)::before {
	background: #fff;
}

.accordion-body {
	padding: 10px;
}

.primaryBtn {
	background: #6e0006;
	color: #fff;
}

/* .primaryBtn:hover {
	background: #fff;
	color: #6e0006;
	border-color: #6e0006 !important;
} */



.shopping-cart {
	padding: 20px;
}

.shopping-cart .filter-toggle {
	border: unset;
	position: fixed;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	background-color: #800214;
	color: #fff;
	padding: 10px 15px;
	border-radius: 0 5px 5px 0;
	cursor: pointer;
	z-index: 1000;
}

/* Popup styles */
.shopping-cart .filter-popup {
	position: fixed;
	top: 0;
	left: -100%;
	/* Hidden initially */
	height: 100%;
	width: 300px;
	background-color: white;
	box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
	padding: 20px;
	transition: left 0.3s ease;
	z-index: 1000;
}

.shopping-cart .filter-popup.open {
	left: 0;
	/* Slide in from the left */
}

/* Popup header */
.shopping-cart .popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.shopping-cart .popup-header h2 {
	margin: 0;
}

.shopping-cart .close-btn {
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
}

/* Popup content */
.shopping-cart .popup-content label {
	display: block;
	margin-bottom: 10px;
}

/* Overlay styles */
.shopping-cart .overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 999;
}

.shopping-cart .overlay.active {
	visibility: visible;
	opacity: 1;
}


/* Responsive styles for tablets and mobile */
@media (max-width: 991px) {
	.filter-popup {
		width: 250px;
		/* Adjust the width for smaller screens */
	}
}

@media (min-width: 992px) {
	.shopping-cart {
		display: none;
	}
}


/* ----------- */

.addto {
	margin-top: 15px;

}

.addto a {
	border-radius: 20px;
	background: #800214;
	border-color: #800214;
}

.addto a:hover {
	background: #6d0917;
	border-color: #800214;
}

.filter {
	border-radius: 20px;
	background: #800214;
	border-color: #800214;
}

.filter:hover {
	background: #6d0917;
	border-color: #800214;
	color: #fff;
}


@media (min-width: 768px) and (max-width: 1199px) {


	.pro-name {
		/* display: inline-block; */
		width: 12ch;
		/* Limits to 12 characters */
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

}

@media screen and (max-width:767px) {
	.col {
		padding: 30px;
	}
}