@import '../../../styles/component.scss';

.listCardWrapper {
	height: 61px;
	border: $border;
	margin-top: -1px;
}

.productImageList {
	width: 43px;
	height: 43px;
	cursor: pointer;
}

.subDescription {
	font-weight: 400;
	font-size: 10px;
}

.subDescriptionPointer {
	font-weight: 400;
	font-size: 7px;
	cursor: pointer;
}

.description {
	font-weight: 500;
	font-size: 14px;
}

.descriptionGrid {
	font-weight: 600;
	font-size: 14px;
}

.nameAndDescriptionPointer {
	width: 250px;
	cursor: pointer;
}

.nameAndDescription {
	padding: 0.2rem 1rem;
}

.rateComponent {
	:global(.ant-rate-star:not(:last-child)) {
		margin: 1.5px;
	}

	font-size: 12px;
	margin-top: -4px;
	white-space: nowrap;
}

.reviewsLabel {
	font-size: 9px;
	margin-left: 4px;
	white-space: nowrap;
}

.font10px {
	font-size: 10px;
}

.darkGreen {
	color: $darkGreen;
}

.originalPrice {
	font-size: 9px;
	text-decoration: line-through;
}

.discountedPrice {
	font-weight: 600;
	font-size: 14px;
	color: $primaryColor;
}

.plusMinusIcon {
	font-weight: 400;
	font-size: 18px;
	color: $lightGray;
	cursor: pointer;
}

.itemCountWrapper {
	background-color: lightgray;
	border-radius: 5px;
}

.productGridViewWarapper {
	border: $border;
	border-radius: 5px;
	padding: 1rem;
	max-width: 100%;
	display: flex;
    flex-direction: column;
    align-items: center;
}

.gridImage {
	width: 184px;
	height: 150px;
	cursor: pointer;
	margin-left: auto;
    margin-right: auto;
	object-fit: contain;
    object-position: center;
}

.mobileCard {
	border-radius: 10px;
	border: $border;
	background: $white;
	padding: 1rem .5rem;
}

.mobileImage {
	height: 135px;
}

.mobileCardDescription {
	color: $primaryColor;
	font-weight: 600;
	font-size: 14px;
}

.productDetailsMobile {
	width: 50%;
	margin-right: 12px;
}
.vendorName{
	font-size: 12px;
}

.addToCartBtn {
	background-color: $secondaryColor;
	width: 54%;
	padding: 0;
	height: 32px;
}

.headerData {
	display: none;
}

@media (max-width: 1200px) {
	.mobileCard {
		display: block;
		height: 100%;
		max-width: 100%;
	}

	.mobileImage {
		margin: 0 auto;
	}

	.productDetailsMobile {
		width: 100%;
		padding: 0 1rem 1rem;
	}
}

@media (min-width: 1201px) and (max-width: 1224px) {
	.mobileCard {
		flex-direction: column;

	}

	.productDetailsMobile {
		width: 100%;
		padding: 0 15px;
		margin-right: 0;
	}
}
@media(min-width:1422px) {
	.nameAndDescriptionPointer{
		width: 400px;
	}
}
@media(min-width:1441px) {
	// .productGridViewWarapper{
	// 	max-width: 260px;
	// }
	.nameAndDescriptionPointer{
		width: 500px;
	}
}