*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
	padding-top: 3rem;
	padding-bottom: 3rem;
	color: #5a5a5a;
	background-color: #cce3ff !important;
}

/*header*/
.navbar{
	background-color: #005aba;
}

.nav-link a{
	color: white;
}

.nav-link.cart {
	position: relative;
	display: block;
}

#cart-logo{
	padding: 12px 20px; 
	display: inline-block; 
	width: 100px;
	height: 100px;
	margin: 0 20px;
	align-items: center;
	justify-content: center;
}
  
.cart-container {
	position: relative;
	display: none;
}

#cart-list{
	margin-bottom: auto;
	height: 80vh;
	overflow-y: auto;
}

.sidebar-cart {
	position: fixed;
	top: 0;
	right: 0; 
	width: 25%; 
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100vh; 
	background-color: #f0f0f0;
	padding: 20px;
	border: 1px solid #ddd;
	transform: translateX(100%); 
	transition: transform 0.5s; 
	overflow-y: hidden;
}

.sidebar-cart.show {
	transform: translateX(0); 
}

.sidebar-cart ul {
	list-style: none;
	padding: 0;
	display: none; 
}

.sidebar-cart ul.show {
	display: block; 
}

.sidebar-cart li {
	padding: 10px;
	border-bottom: 1px solid #ccc;
}

.sidebar-cart h3{
	border-bottom: 5px solid #ccc;
}

.cart-button {
	width: 100%;
	padding: 10px;
	margin-top: 10px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	background-color: #28a745;
	color: white;
}

.cart-option-button {
	background-color: #dc3545;
	color: white;
	border: none;
	padding: 3px 10px;
	border-radius: 5px;
	cursor: pointer;
}

.open-cart-button {
	background-color: #005aba;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.open-cart-button:hover{
	transform: scale(1.1);
}

.cart-count {
	position: absolute;
	top: 15%;
	right: 27%;
	background-color: #dc3545;
	color: white;
	border-radius: 50%;
	padding: 2px 5px;
	font-size: 12px;
}

.items {
	display: flex;
	flex-direction: column;
	align-items: center;
}
  
.item-container {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	width: 100%;
}
  
.item-container div {
	margin-right: 10px;
}
  
.button-container {
	display: flex;
	justify-content: space-between;
	height: 50px;
}
  
.button-container button {
	margin-right: 10px;
}

.cart-product-image{
	width: 60px;
	margin-right: 5px;
}

.item-description-container{
	width: 100%;
}

#marketing-logo{
	width: 100%;
	height: 75px;
}

.header-cart-text {
	display: block !important; 
}

.cart-badge {
	position: absolute;
	bottom: 2.5%;
	right: 5%;
	transform: translate(50%, -50%);
	font-size: 12px;
	background-color: red;
	color: white; 
	padding: 2px 5px;
	border-radius: 50%;
	z-index: 1; 
}
  
section{
    min-height: 100vh;
  	display: grid;
	padding: 100px 0 0 20px;
}

/*sorter*/
.dropdown-container{
	width: 94% !important;
	display: flex;
    margin-bottom: 40px;
    margin-top: 30px;
	justify-content: flex-end;
}
  
.product-header{
    grid-row: 1;
    grid-column: 1;
    font-size: 60px;
}

#reset{
    display: none;
    grid-column: 1;
    color: black;
    width: fit-content;
    justify-self: left;
    text-decoration: none;
}

#reset:hover{
    color: blue;
}

.show-text{
    grid-column: 2;
}

#show-text-bottom{
    grid-column: 2;
}

.sortby{
    grid-row: 1;
    grid-column: 3 ;
    margin-right: 25px;
}

.dynamic-dropdown-container{
    grid-row: 1;
    grid-column: 4;
}

#product-main{
	width: 400px;
    position: relative;
    display:flex;
    min-height: 125vh;
	justify-items: center;
}

/*category*/
#category-list{
	margin-right: 20px;
}

#category-header{
    text-align: center;
}

#category-header:hover{
    background-color: white;
}

.category{
    font-size: 15px;
    padding: 15px;
    width: 300px;
    border: 1px solid black;
    list-style-type: none;
}

.category-hyperlink{
    text-decoration: none;
    color: black;
    display: flex;
}

.category-hyperlink h3{
    font-size: 1.5rem;
}

.category-hyperlink:hover{
    color: black;
}

.subcategory-indicator{
    display: block;
    margin-left: auto;
}

.sub-category-hyperlink{
    text-decoration: none;
    color: black;
    text-align: center;
}

.sub-category-hyperlink:hover{
    color: black;
}

.sub-category-hyperlink h3{
    font-size: 1.5rem;
}

.category-dropdown{
    display: none;
    font-size: 15px;
    width: 100%;
    margin: 5px 0;
}

.category:hover{
    background-color: cyan;
}

#category-block{
	background-color: #7baaef;
	display: inline-block;
}

#category-block .category-dropdown{
    display: inline-block;
    background-color: white;
}

.border:hover{
    background-color: violet;
}

.border{
    border: 1px solid black;
    padding: 5px;
}

#border-highlight {
	background-color: #fd7e89;
  }

/*product*/
.product-card-container{
    position: relative;
}

.product-card {
    width: 190px;
    height: 190px;
    border: 1px solid black;
    align-content: center;
	padding: 0 20px;
    z-index: 1;
}

.gray{
    filter: grayscale(80%);
}

.product-card:hover{
    background: cyan;
}

.text-container {
    text-align: center; /* Horizontally centers text */
    display: flex;      /* Enable flexbox */
	height: 45px;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.text-container h3 {
    font-size: 0.8rem;
    margin: 0; /* Remove default margin */
}

.new-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: red;
    position: absolute;
    top: -10%;
    left: 85%;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 2;
}

.product-image{
    display: block;
    margin: 0 auto 10px auto;
    width: 120px;
	height: 120px;
    border: 1px solid black;
}

.product-card:hover .product-image{
    background: white;
}
.product-1, .product-2, .product-3, .product-4{
    text-decoration: none;
    color: black
}

.product-1:hover, .product-2:hover, .product-3:hover, .product-4:hover{
    text-decoration: none;
    color: black;
}

.product-1{
    grid-column: 2;
}

.product-2{
    grid-column: 3;
}

.product-3{
    grid-column: 4;
}

.product-4{
    grid-column: 5;
}

.eta{
    text-align: right;
    color: black;
}

/*page navigation*/
.page-nav-container {
    position: absolute;
    left: 0;
    bottom: -100px;
    display: grid;
    grid-template-columns: repeat(8, 45px);
    grid-column: 2 / -1; 
    margin-top: 20px; 
  }

.page-num{
    padding: 10px;
    border: 1px solid black;
    width: 35px;
    text-align: center;
    text-decoration: none;
    color: black;
    justify-content: center;
    align-content: center;
}

.prev{
    grid-column: 1;
}

.next{
    grid-column: 13;
}

.active{
    background-color: #459fff;
}

.disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
  }

#left{
    grid-column: 2;
}

/*footer*/
footer{
    margin-top: 300px;
    border-top: 3px solid black;
    padding-left: 20px;
    height: 75px; 
    padding: 10px;
    display: flex;
    align-items: center; 
    cursor: pointer;
}

#footer-logo{
    width: auto;
    height: 70px;
}

.contact-info-container{
    margin-left: 20px; 
    margin-top: 20px;
}

.contact-info{
    font-size: 12px; 
    margin: 0;
}

#category-list{
	display: none;
}

#dynamic-product{
	display: grid;
	grid-gap: 25px;
	grid-auto-rows: minmax(190px, 190px);
	position: relative;
	grid-template-columns: repeat(2, 1fr);
}

#show-categories-toggle{
	width: 80%;
	justify-self: center;
}

/*responsive*/
@media (min-width: 1201px) {
	.nav-link.cart{
		display: none;
	}
	.cart-badge {
		display: none;
	}
	.cart-container {
		display: block;
	}
	.header-cart-text{
		display: none !important;
	}
	#category-list{
		display: block !important;
	}

	#product-main{
		position: relative;
		display:flex;
		gap: 20px;
		min-height: 125vh;
		justify-items: center;
	}

	#category-list h1{
		font-size: 1.5rem;
	}

	#dynamic-product{
		display: grid;
		grid-gap: 55px;
		grid-auto-rows: minmax(300px, 300px);
		position: relative;
		grid-template-columns: repeat(4, 1fr);
	}

	.product-card {
		width: 300px;
		height: 300px;
		border: 1px solid black;
		align-content: center;
		padding: 0 10px;
		z-index: 1;
	}

	.product-image{
		display: block;
		margin: 0 auto 20px auto;
		width: 180px;
		height: 180px;
		border: 1px solid black;
	}
	

	.new-circle {
		width: 75px;
		height: 75px;
		border-radius: 50%;
		background-color: red;
		position: absolute;
		top: -10%;
		left: 85%;
		text-align: center;
		line-height: 75px;
		color: #fff;
		z-index: 2;
	}

	.page-nav-container {
		position: absolute;
		left: 90%;
		bottom: -100px;
		display: grid;
		grid-template-columns: repeat(13, 107px);
		grid-column: 2 / -1; 
		margin-top: 20px; 
	  }
	
	.page-num{
		padding: 20px;
		border: 1px solid black;
		width: 75px;
		text-align: center;
		text-decoration: none;
		color: black;
		justify-content: center;
		align-content: center;
	}
	
	.text-container{
		height: 75px;
	}

	.text-container h3{
		font-size: 1.15rem;
	}

	#show-categories-toggle{
		display: none;
	}
	section{
		padding: 150px 50px 50px 50px;
	}

	#reset{
		margin-right: auto;
		display: none;
		grid-column: 1;
		color: black;
		width: fit-content;
		justify-self: left;
		text-decoration: none;
	}

	.dropdown-container{
		width: 100.5% !important;
		display: flex;
		margin-bottom: 40px;
		margin-top: 30px;
		justify-content: flex-end;
	}
	
  }

@media (min-width: 675px) and (max-width: 768px) {
    #dynamic-product {
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
	.nav-link.cart{
		display: none;
	} 
	.cart-badge {
		display: none;
	}
	.cart-container {
		display: block;
	}
	.header-cart-text{
		display: none !important;
	}
    #dynamic-product {
		width: 100%;
		grid-auto-rows: minmax(225px, 225px);
        grid-template-columns: repeat(3, 1fr); 
    }
	.product-card {
		width: 225px;
		height: 225px;
		border: 1px solid black;
		align-content: center;
		padding: 0 10px;
		z-index: 1;
	}

	.product-image{
		display: block;
		margin: 0 auto 20px auto;
		width: 110px;
		height: 110px;
		border: 1px solid black;
	}

	.text-container h3{
		font-size: 1rem;
	}

	.page-nav-container {
		position: absolute;
		bottom: -100px;
		display: grid;
		grid-template-columns: repeat(13, 60px);
		grid-column: 2 / -1; 
		margin-top: 20px; 
	  }
}

@media (min-width: 1001px) and (max-width: 1100px) {
	.nav-link.cart{
		display: none;
	} 
	.cart-badge {
		display: none;
	}
	.cart-container {
		display: block;
	}
	.header-cart-text{
		display: none !important;
	}
    #dynamic-product {
		width: 100%;
		grid-auto-rows: minmax(225px, 225px);
        grid-template-columns: repeat(4, 1fr); 
    }
	.product-card {
		width: 225px;
		height: 225px;
		border: 1px solid black;
		align-content: center;
		padding: 0 10px;
		z-index: 1;
	}

	.product-image{
		display: block;
		margin: 0 auto 20px auto;
		width: 110px;
		height: 110px;
		border: 1px solid black;
	}

	.text-container h3{
		font-size: 1rem;
	}
}

@media (min-width: 1100px) and (max-width: 1200px) {
	.nav-link.cart{
		display: none;
	} 
	.cart-badge {
		display: none;
	}
	.cart-container {
		display: block;
	}
	.header-cart-text{
		display: none !important;
	}
    #dynamic-product {
		width: 100%;
		grid-auto-rows: minmax(225px, 225px);
        grid-template-columns: repeat(4, 1fr); 
    }
	.product-card {
		width: 225px;
		height: 225px;
		border: 1px solid black;
		align-content: center;
		padding: 0 10px;
		z-index: 1;
	}

	.product-image{
		display: block;
		margin: 0 auto 20px auto;
		width: 110px;
		height: 110px;
		border: 1px solid black;
	}

	.text-container h3{
		font-size: 1rem;
	}
}


@media (min-width: 1201px) and (max-width: 1400px) {
	.nav-link.cart{
		display: none;
	} 
	.cart-badge {
		display: none;
	}
	.cart-container {
		display: block;
	}
	.header-cart-text{
		display: none !important;
	}
	#category-list{
		display: block !important;
	}

	#product-main{
		position: relative;
		display:flex;
		gap: 20px;
		min-height: 125vh;
		justify-items: center;
	}

	#category-list h1{
		font-size: 1.5rem;
	}

	#dynamic-product{
		display: grid;
		grid-gap: 55px;
		grid-auto-rows: minmax(250px, 300px);
		position: relative;
		grid-template-columns: repeat(2, 1fr);
	}

	.product-card {
		width: 300px;
		height: 300px;
		border: 1px solid black;
		align-content: center;
		padding: 0 10px;
		z-index: 1;
	}

	.product-image{
		display: block;
		margin: 0 auto 20px auto;
		width: 180px;
		height: 180px;
		border: 1px solid black;
	}
	

	.new-circle {
		width: 75px;
		height: 75px;
		border-radius: 50%;
		background-color: red;
		position: absolute;
		top: -10%;
		left: 85%;
		text-align: center;
		line-height: 75px;
		color: #fff;
		z-index: 2;
	}

	.page-nav-container {
		position: absolute;
		left: 90%;
		bottom: -100px;
		display: grid;
		grid-template-columns: repeat(13, 107px);
		grid-column: 2 / -1; 
		margin-top: 20px; 
	  }
	
	.page-num{
		padding: 20px;
		border: 1px solid black;
		width: 75px;
		text-align: center;
		text-decoration: none;
		color: black;
		justify-content: center;
		align-content: center;
	}
	
	.text-container{
		height: 75px;
	}

	.text-container h3{
		font-size: 1.15rem;
	}

	#show-categories-toggle{
		display: none;
	}
	section{
		padding: 150px 50px 50px 50px;
	}

	#reset{
		margin-right: auto;
		display: none;
		grid-column: 1;
		color: black;
		width: fit-content;
		justify-self: left;
		text-decoration: none;
	}

	.dropdown-container{
		width: 100.5% !important;
		display: flex;
		margin-bottom: 40px;
		margin-top: 30px;
		justify-content: flex-end;
	}
}


@media (min-width: 950px) and (max-width: 1200px) {
	.nav-link.cart{
		display: none;
	} 
	.cart-badge {
		display: none;
	}
	.cart-container {
		display: block;
	}
	.header-cart-text{
		display: none !important;
	}
	#category-list{
		display: block !important;
	}

	#product-main{
		position: relative;
		display:flex;
		gap: 20px;
		min-height: 125vh;
		justify-items: center;
	}

	#category-list h1{
		font-size: 1.5rem;
	}

	#dynamic-product{
		display: grid;
		grid-gap: 55px;
		grid-auto-rows: minmax(300px, 300px);
		position: relative;
		grid-template-columns: repeat(2, 1fr);
	}

	.product-card {
		width: 300px;
		height: 300px;
		border: 1px solid black;
		align-content: center;
		padding: 0 10px;
		z-index: 1;
	}

	.product-image{
		display: block;
		margin: 0 auto 20px auto;
		width: 180px;
		height: 180px;
		border: 1px solid black;
	}
	

	.new-circle {
		width: 75px;
		height: 75px;
		border-radius: 50%;
		background-color: red;
		position: absolute;
		top: -10%;
		left: 85%;
		text-align: center;
		line-height: 75px;
		color: #fff;
		z-index: 2;
	}

	.page-nav-container {
		position: absolute;
		left: 90%;
		bottom: -100px;
		display: grid;
		grid-template-columns: repeat(8, 80px);
		grid-column: 2 / -1; 
		margin-top: 20px; 
	  }
	
	.page-num{
		padding: 20px;
		border: 1px solid black;
		width: 50px;
		text-align: center;
		text-decoration: none;
		color: black;
		justify-content: center;
		align-content: center;
	}
	
	.text-container{
		height: 75px;
	}

	.text-container h3{
		font-size: 1.15rem;
	}

	#show-categories-toggle{
		display: none;
	}
	section{
		padding: 150px 50px 50px 50px;
	}

	#reset{
		margin-right: auto;
		display: none;
		grid-column: 1;
		color: black;
		width: fit-content;
		justify-self: left;
		text-decoration: none;
	}

	.dropdown-container{
		width: 100.5% !important;
		display: flex;
		margin-bottom: 40px;
		margin-top: 30px;
		justify-content: flex-end;
	}
	
	.contact-info-container{
    margin-left: 20px; 
    margin-top: 0;
    }

}
