/* Add the following CSS rules to make the footer sticky */
html,
body {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
}


footer {
	margin-top: auto;
}
.text1{
	text-decoration: none;
	color: white;


}
h1,
h2,
h3,
h4,
h5,
h6 {
	color: hsl(0, 0%, 30%);
}

.box-element {
	box-shadow: rgb(115, 185, 94) 0 0 16px;
	background-color: #fff;
	border-radius: 4px;
	padding: 10px;
}


.thumbnail {
	width: 100%;
	height: 200px;
	-webkit-box-shadow: -1px -3px 5px -2px rgba(214, 214, 214, 1);
	-moz-box-shadow: -1px -3px 5px -2px rgba(214, 214, 214, 1);
	box-shadow: -1px -3px 5px -2px rgba(214, 214, 214, 1);
}

.product {
	border-radius: 0 0 4px 4px;
}

#cart-icon {
	padding-top: 9px;
	width: 35px;
	display: inline-flex;
	margin-left: 10px;
}

#cart-total {

	display: inline-block;
	text-align: center;
	color: #ffffff;
	background-color: rgb(128, 128, 128);
	width: 25px;
	height: 30px;
	border-radius: 40%;
	font-size: 20px;
}

.col-lg-4,
.col-lg-6,
.col-lg-8,
.col-lg-12 {
	margin-top: 10px;
}

.btn,
.shadow-card1 {

	border-radius: 0px;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.row-image {
	width: 100px;
}

.product-image {
	height: auto;
	max-width: 100%;
	object-fit: cover;
	/* To maintain the image's aspect ratio */
}



.product-image1 {
	width: 640px;
	height: 360px;
	object-fit: cover;
	/* To maintain the image's aspect ratio */
}

.product-image2 {
	height: 300px;
	width: 300px;
	object-fit: hidden;
	/* To maintain the image's aspect ratio */
}

.product-detail-page {
	height: 600px;
	width: 600px;
	object-fit: hidden;
	/* To maintain the image's aspect ratio */
}

.image-subcat {
	max-width: 100%;
	/* Limit the image width to the card's width */
	height: 200px;
	width: 200px;
	object-fit: cover;
	/* To maintain the image's aspect ratio */
}

.form-field {
	width: 250px;
	display: inline-block;
	padding: 5px;
}

.cart-row {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid #ececec;

}

.quantity {
	display: inline-block;
	font-weight: 700;
	padding-right: 10px;


}

.chg-quantity {
	width: 12px;
	cursor: pointer;
	display: block;
	margin-top: 5px;
	transition: .1s;
}

.chg-quantity:hover {
	opacity: .6;
}


.hidden {
	display: none !important;
}





.card__subcat {
	height: 250px;
	/* S5t your preferred fixed height for the cards */
}


.card__cat {
	height: 400px;
	/* S5t your preferred fixed height for the cards */
}

.card-button{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	padding: 10px;
  }
   
.image_pro {
	height: 200px;
	width: 100%;
	object-fit: cover;
}

.input-mysize {
	width: 450px
}

.product-title {
    font-size: 15px; /* Set the font size for the product title */
    line-height: 1.2; /* Set the line height for better spacing */
    white-space: nowrap; /* Prevent text from wrapping to the next line */
    overflow: hidden; /* Hide any overflow beyond the specified width */
    text-overflow: ellipsis; /* Show an ellipsis (...) for overflow text */
}


@media (max-width: 768px) {
	.input-mysize {
		width: 100%;
		/* 100% width on smaller screens */
	}

	
	.image_pro {
		height: auto;
		width: 100%;
		object-fit: scale-down;
	}




	.product-image-slider-hotproduct {
		max-height: 200px;
		width: auto;
		object-fit: cover;
		/* To maintain the image's aspect ratio */
	}

	.card__subcat_hot_product {
		height: auto;
		width: 100%;
		/* S5t your preferred fixed height for the cards */
	}
	



	.product-image1 {
		width: auto;
		height: auto;
		object-fit: cover;
		/* To maintain the image's aspect ratio */
	}

	.product-image2 {
		height: auto;
		width: auto;
		object-fit: hidden;
		/* To maintain the image's aspect ratio */
	}



	h1,h2,h3,h4,h5,h6{
		font-size: small;
	}
	
	p{
		font-size: 3vw;
		max-height: 3em;
		overflow: scroll;
	}
	.btn {
		font-size: 3vw;
		max-width: auto;
	  }
	.card__cat {
		height: auto;
		/* Let the height be determined by content (automatic height) */
	}
	
	.card-body {
		padding: 5px; /* Adjust padding as needed to make the card body smaller */
	  }
	
	.product-image{
	 
		max-height: 100px; /* Adjust to your preferred maximum height for smaller screens */
		width: auto;
		object-fit: contain;
		/* Scale down the image to fit within the container */
	}
	.image-subcat {
		max-height: 100px;
		width: 100%;
		object-fit: contain;
	  }
	  
	.card__subcat {
		height: auto;
		width: 100%; /* Use 100% width for cards to center them within the column */
	}


}