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

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

.discountMain{
	display: flex;
    justify-content: flex-end;
}
.imageDiscountGrid{
	display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.discountMobileButton{
	background: $indisparePink;
	border-radius: 5px;
	color: $white;
	padding: 0.25rem 0.75rem;
	max-width: 5.5rem;
	text-align: right;
	font-weight: 700;
	
	font-size: 14px;
	position: absolute;
	margin-right: -0.5rem;
    margin-top: -1.15rem;
	width: 100px;
}
.discountButton{
	background: $indisparePink;
	border-radius: 5px;
	color: $white;
	padding: 0.15rem 0.75rem;
	max-width: 5.5rem;
	text-align: right;
	font-size: 14px;
	font-weight: 700;
	position: absolute;
	margin-right: -0.75rem;
    margin-top: -1.75rem;
	width: 100px;
}
.discountButtonList{
	background: $indisparePink;
    border-radius: 5px;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    max-width: 5rem;
    text-align: center;
	font-weight: 700;
    font-size: 14px;
    width: 100px;
    height: auto !important;
    margin-right: 0.25rem;
}

.productImageList {
	width: 43px;
	height: 43px;
	cursor: pointer;
	object-fit: contain;
}

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

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

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

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

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

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

.nameAndDescription {
	padding: 0.2rem 1rem;
}
.nameAndDescriptionList{
	padding: 0.2rem 1rem;
	white-space: nowrap;
	width: 150px;
}

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

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

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

.font10px {
	font-size: 10px;
}

.darkGreen {
	color: $darkGreen;
}

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

.discountedPrice {
	font-weight: 700;
	font-size: 16px;
	color: $primaryColor;
}

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

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

.productGridViewWarapper {
	border: $border;
	border-radius: 5px;
	padding: 2rem 1rem 0.5rem;
	max-width: 100%;
	display: flex;
    flex-direction: column;
    align-items: center;
	width: 100%;
	background: $white;
	transition: 0.3s;
	&:hover{
		box-shadow: 0px 0px 30px 0px #b9b6b6;
		transition: 0.3s;

	}
	
}

.h100{
	height: 100%;
}
.productImgParent{
	max-height:176px;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.gridImage {
	// width: 184px;
	// height: 150px;
	width: 100%;
	height: auto;
	cursor: pointer;
	margin-left: auto;
    margin-right: auto;
	object-fit: contain;
    object-position: center;
	max-height: 176px;
	margin-bottom: 0.5rem !important;
	// transform: scale(1.2);

}

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


.mobileImage {
	height: 135px;
}

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

.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:1460px) {
	.nameAndDescriptionPointer{
		width: 400px;
	}
}
@media(min-width:1441px) {
	.productGridViewWarapper{
		width: 100%;
	}
	.nameAndDescriptionPointer{
		width: 500px;
	}
}
@media(max-width:1399px) {
	.productGridViewWarapper{
		width: 100%;
	}
}

@media(min-width:1225px) and (max-width:1350px) {
	.descriptionList{
		max-width: 200px;
	}
	.listButtonSpace{
		margin-right:0.25rem !important
	}
	.buttonPadding{
		padding-left: 5px;
		padding-right: 5px;
	}
	.nameAndDescriptionList{
		padding: 0.2rem 0.5rem;
	}
}

@media(min-width:1351px) and (max-width:1374px) {
	.descriptionList{
		max-width: 300px;
	}
}