body{
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

}
header {
	margin-bottom: 0px;
}
button {
	cursor: pointer;
}
#infoBanner img {
	height: auto;
	margin: 2% 8% 2% 8%;
    max-width: 84%;
}
#desktopInfoBanner {
    display: block;
}
#mobileInfoBanner {
    display: none;
}
#selector {
    text-align: left;
}
.lefFilter{
    display: none;
   padding-left: 30px;
    /* padding-top: 20px; */
    margin-top: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid grey;
    max-height: 300px;
    overflow-y: scroll;
}
#selector .open{
    display: block;
}
#selector h4{
    cursor: pointer;
}
#bestSellerProducts h4{
    margin-top: 30px;
    max-height: 60px;
}

#selectorStady h4 {
	padding: 10px;
}

#selectorStady h4:hover {
	background-color: red;
	color: white;
}

#container{
	margin: 50px 6% 20px 6%;
}

#bestSellerProducts{
    margin: 0px 20px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cartBtn{
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

    font-size: 0.80rem;
    padding: 6px;
    cursor: pointer;
	display: flex;
    align-items: center;
    width: 100%;
    padding: 0px 0px;
    flex-direction: column-reverse;
}
.numberPicker {
	border: solid black 1px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}
.numberPicker i {
	padding: 1px 0px;
	text-align: center;
}
.numberPicker i:hover {
	color: gray;
}
.container{
    display: grid;
	grid-gap: 10px;
    grid-template-columns: 300px auto;
    grid-template-rows: auto 200px;
    /* width: 100%; */
}
.ImgCard{
    width: 100%;
    height: 180px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: center;
}
.card i {
    margin: 7px;
}
/* .productInfo {
	height: 170px;
} */
.pNameCard {
	font-size: 90%;
	/* height: 60px; */
	margin-top: 10px;
}
.priceCard {
	height: 80px;
    margin: 30px 0 0 0;
}

.productInfoText {
    min-height: 90px;
    max-height: 110px;
    height: 91px;
}

.discountInfo, .productPrice {
	color: #ea2128;
	font-size: 90%;
	font-weight: bold;
}
.rebateInfo {
	color: #02adee;
}
.productPrice {
	font-size: 150%;
}
.productInfo del {
	font-size: 90%;
}
.quantity{
    font-size: 1.2rem;
	margin: 0px 1px;
	text-align: center;
	width: 15px;
}

#selector{
    grid-column: 1;
}
#bestSellerProducts{
    grid-column: 2;
}
.container img{
    text-align: center;
}
.not-found-image {
    text-align: center;
    width: 80%; 
    height: auto;
    overflow: hidden;
  }

.card .productImg{
    /* height: 180px; */
    max-width: 100%;
	object-fit: scale-down;
}

img.productImg:hover {
    transform: scale(1.01);
    opacity: 0.8;
}

.productNote {
	color: black; 
	font-weight: normal; 
	font-size: 55%;
}

/*display Page ... of ...*/
.pagination-info {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #333;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

    margin-right: 10px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.paginationContainer {
    grid-column: 2;
}




#pageNumbers li{
    display: inline-block;
    padding: 10px 18px;
    margin: 0 3px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#pageNumbers li:hover {
	background-color: #8c8c8c;
    color: #fff;
    border-color: #787878;
}
#pageNumbers i:hover {
	cursor: pointer;
}
#pageNumbers{
    margin: 20px 0px 50px 0px;;
    text-align: center;
    grid-column: 2;
}

#pageNumbers li[style*="background-color: black"] {
    background-color: #444444 !important;
    color: #fff !important;
    border-color: #030303 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
#pageNumbers .fa-lg {
    font-size: 18px;
    color: #373737;
    cursor: pointer;
    transition: color 0.3s ease;
}

#pageNumbers .fa-lg:hover {
    color: #bcbcbc;
}
.card{
    border-radius: 15px;
    width: 300px;
    padding: 10px;
    max-height: 500px;
    box-shadow: 0px 0.5px 8px rgba(0, 0, 0, 0.1);
}
.card .discountImg{
    height: 80px;
	width: auto;
    z-index: 99;
    float: left;
	margin-bottom: 10px;
}

.card a {
    color: black;
}

.card h3{
    color: red;
}

.cartBtn button {
    background-color: #101214;
    color: white;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: inherit;
    border: none;
    border-radius: 10px;
    padding: 3px 80px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, gap 0.3s ease;
}

.cartBtn button:hover {
    background-color: #b80000;
    gap: 15px;
}

.cartBtn button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.cartBtn button:hover::before {
    left: 100%;
    transition: left 0.5s ease;
}

.filterResponsive {
    display: none;
    text-align: right;
}

.filterResponsive button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgb(50, 50, 50);
    font-size: 1.5rem;
    cursor: pointer;
    margin: 10px 10px 0 0;
    transition: color 0.3s ease, transform 0.2s ease;
}

.filterResponsive button:active {
    color: rgb(189, 189, 189);
}

/* APPLY FILTERS BUTTON (inside overlay) */
#applyFiltersButton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #000;
    border: 1px solid black;
    color: #fff;
    font-size: 1rem;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    border-radius: 15px;
    padding: 10px 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#applyFiltersButton:active {
    background-color: #5A5A5A;
}


#applyFiltersButton {
	display: flex;
	width: auto;
}

#closeFilterXButton {
	display: none;
	color: #818181;
	position: absolute;
	top: 20px;
	right: 35px;
	font-size: 36px;
	margin-left: 50px;
	padding: 0px;
}

input[type="checkbox"] {
    cursor: pointer;
    accent-color: red; /*make check mark red*/
}

#applyFiltersButton {
	display: none;
}

#cartPopup {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ddd;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 20000;
}

/* #bestSellerProducts {
		display: flex;
		justify-content: center;
	} */

    #bestSellerProducts .productInfo {
        text-align: left !important;
        margin: 0 10px 0 10px;
    }

    .productInfo {
        min-height: 130px;
        max-height: 200px;
        height: 190px;
    }
    
#breadcrumbs {
  padding: 10px;
  list-style: none;
  background-color: #eee;
}

#breadcrumbs li {
  display: inline;
  font-size: 18px;
}

#breadcrumbs li+li:before {
  padding: 2px;
  color: black;
  content: "/\00a0";
}

#breadcrumbs li, #breadcrumbs a {
  color: #CF1715;
  text-decoration: none;
}

#breadcrumbs li a:hover {
  color: red;
  text-decoration: underline;
}

.lastCategory {
	color: black !important;
}

#backgroundOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

/*show all button*/
#paginationControls {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#paginationControls button {
    font-size: medium;
    padding: 10px 25px;
    border-radius: 7px;
    border: 1px solid #e4e4e4;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#paginationControls button:hover {
    background-color: #282828;
    color: white;
}
/*end of show all button*/



@media screen and (max-width: 1334px) {
    .topnavresponsive li {
        border-bottom: 1px solid gray;
    }

    .not-found-image {
        text-align: center;
        width: 100%; 
        height: auto;
        overflow: hidden;
      }


}
@media screen and (max-width: 999px) {

    .not-found-image {
        text-align: center;
        width: 100%; 
        height: auto;
        overflow: hidden;
      }

    #infoBanner {
		margin-top: 20px;
	}
    #selector{
        display: none;
    }
    #container{
        /* grid-template-columns: 0px auto; */
		grid-template-columns: 1fr;
		max-width: fit-content;
		margin-left: auto;
		margin-right: auto;
    }
/*     .card{
        width: 200px;
    } */

	#selector h4, #applyFiltersButton, .lefFilter.open {
		margin-left: 10%;
		margin-right: 10%;
	}
	#selector h4 {
		margin-top: 20px;
	}

    /*
    #selector.open{
        display: block;
        background: #f9f9f9;
		z-index: 10000;
		position: absolute;
		box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
		/* top:265px;
        left: 24%;
        width: 515px; */
		/*top: 0px;
		left: 0px;
		width: 100%;
		padding: 20px;
        overflow-y: scroll;
        /* height: 400px; */
		/*height: 100%;
    }
    */

    @keyframes slideInUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }


    #selector.open {
        display: block;
        background: #f9f9f9;
        z-index: 10000;
        position: absolute;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        top: 30%;
        left: 0px;
        width: 100%;
        padding: 20px;
        overflow-y: scroll;
        height: 100%;
        animation: slideInUp 0.5s ease-out;
        border-radius: 20px;
        position: fixed;
    }
    /* #selectorStady{
        position: fixed;
        margin-top: -200px;
        margin-left: 25%;
    } */
    #bestSellerProducts{
		/* max-width: fit-content;
		margin-left: auto;
		margin-right: auto; */
		gap: 10px;
		/* justify-content: space-between; */
		row-gap: 10px;
    }
    .filterResponsive{
        display: flex;
        /* margin-left: 24%; */
        margin-top: 40px;
        /* position: fixed; */
        /* z-index: 2000; */
        width: 90%;
		margin-left: auto;
		margin-right: auto;
        justify-content: flex-end;
    }
    .filterResponsive button{
        cursor: pointer;
    }
    .selectorResponsive{
        display: flex;
    }
	#closeFilterXButton {
		display: block;
	}
	#applyFiltersButton {
		display: grid;
		margin-top: 20px;
		text-align: center;
	}
}
@media screen and (max-width: 969px) {
	#bestSellerProducts {
		gap: 10px;
		justify-content: center;
	}
}

@media screen and (max-width: 660px) {
	#desktopInfoBanner {
        display: none;
    }
    #mobileInfoBanner {
        display: block;
    }
    .card {
		margin: 0px;
		width: 400px;
	}
	.potentialDiscounts {
		display: grid;
		grid-template-columns: 1fr;
	}
    .card .discountImg {
        height: 50px;
        width: auto;
        z-index: 99;
        float: left;
        margin-bottom: 10px;
    }

	.quantity {
		margin-left: 5px;
	}
    #infoBanner img {
        height: auto;
        margin: 2% 0% 2% 0%;
        max-width: 100%;
    }
}
@media screen and (max-width: 576px) {
	#breadcrumbs {
	  padding: 15px 16px 10px 16px;
	 }
	#closeFilterXButton {
		top: 10px;
		right: 20px;
	}
    .cartBtn button {
        background-color: #101214;
        color: white;
        font-family: inherit;
        font-size: inherit;
        border: none;
        border-radius: 5px;
        padding: 5px 55px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background-color 0.3s ease;
        margin: 0 0 10px 0;
    }
}
@media screen and (max-width: 560px) {
	.card {
		width: 300px;
	}
}

@media screen and (max-width: 540px) {
    #pageNumbers li{
        margin: 8px;
    }
}

@media screen and (max-width: 500px) {
	.card {
		width: 300px;
	}
}

@media screen and (max-width: 460px) {
	.card {
		width: 280px;
	}
	.quantity {
		margin-left: 3px;
	}

    .card .productImg {
        max-width: 80%;
        height: auto;
    }
    
}
@media screen and (max-width: 440px) {
    #pageNumbers li{
        margin: 0px;
    }

    #pageNumbers li {
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 600;
    }

    #pageNumbers .fa-lg {
        font-size: 15px;
        margin: 0 5px;
    }
}
@media screen and (max-width: 420px) {
    #pageNumbers li{
        margin: 0px;
    }
}

@media screen and (max-width: 400px) {
    #pageNumbers li {
        display: inline;
        padding: 10px 18px;
    }
	.card {
        width: 270px;
        max-width: 270px;
    }
	.quantity {
		margin-left: 2px;
	}
}
@media screen and (max-width: 380px) {
    #pageNumbers li {
        display: inline;
        padding: 8px 16px;
    }
    #pageNumbers .fa-lg{
        font-size: 1.8em;
    }
    
}
@media screen and (max-width: 330px) {
    .card {
		width: 220px;
	}
    
}

/*full-screen overlay*/
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*spinner */
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #b60000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/*animation*/
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
