/* General layout */
html {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow-x: hidden; /* Prevent horizontal scrolling */
}
/* Main content wrapper */
.main-content {
	flex: 1; /* This pushes the footer to the bottom */
	width: 100%;
}

body {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Navigation Bar */
.navbar {
	background-color: #333;
	overflow: hidden;
	position: sticky;
	/* Ensure the navbar stays at the top when scrolling */
	top: 0; /* Stick to the top */
	z-index: 1000; /* Ensure it stays above other content */
	margin-bottom: 20px; /* Adjust this value as needed */
}

.nav-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
}

.nav-list li {
	display: flex;
	align-items: center; /* Vertically align the links */
}

.nav-list a {
	display: flex;
	align-items: center; /* Vertically align text and images */
	color: white;
	text-align: center;
	padding: 14px 20px;
	text-decoration: none;
}

.nav-list a:hover {
	background-color: #ddd;
	color: black;
}

/* Style for the shopping cart icon */
.nav-icon {
	width: 30px; /* Adjust the size as needed */
	height: auto; /* Maintain aspect ratio */
	margin-left: 5px; /* Space between the text and the icon */
	vertical-align: middle; /* Align the icon vertically with the text */
}

/* Container */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

h1 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 40px;
}


/* Each product */
.product {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 15px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	box-sizing: border-box;
	margin-bottom: 5px; /* Add a small margin between products */
}

/* Product link - Prevent any text styling inside the <a> */
.product a {
	text-decoration: none;
	color: inherit;
}

/* Apply styles to product details link only */
.product-details {
	color: #333;
}

.product-details:hover {
	color: #27ae60; /* Change color on hover */
}

/* Product image */
.product img {
	width: 150px;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
}

.price {
	font-weight: bold;
	color: #27ae60;
}

/* Add to Cart button */
.add-to-cart {
	background-color: #2ecc71; /* Light green */
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.3s;
}

.add-to-cart:hover {
	background-color: #27ae60; /* Darker green */
	transform: scale(1.1); /* Slightly enlarge button on hover */
}

.add-to-cart-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.quantity-btn {
	background-color: #3498db;
	color: white;
	border: none;
	padding: 5px 10px;
	border-radius: 5px;
	cursor: pointer;
}

.quantity-btn:hover {
	background-color: #2980b9;
}

.quantity-input {
	width: 50px;
	padding: 5px;
	text-align: center;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 5px;
}



h2 {
	text-align: center;
	font-size: 2em;
}




/* Quantity Buttons */
.quantity-btn {
	background-color: #007bff;
	color: #fff;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}

.quantity-btn:hover {
	background-color: #0056b3;
}

span {
	margin: 0 10px;
}









/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	margin-bottom: 40px; /* Increase this value for more space */
}

.pagination a, .pagination span {
	display: inline-block;
	margin: 0 5px;
	padding: 10px 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	text-decoration: none;
	color: #3498db;
	background-color: #f9f9f9;
	transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
	background-color: #3498db;
	color: white;
}

.pagination .active {
	background-color: #3498db;
	color: white;
	border-color: #3498db;
	cursor: default;
}

.pagination span {
	cursor: not-allowed;
	background-color: #ddd;
	color: #aaa;
}





/* Responsive design */
@media screen and (max-width: 768px) {
	
	
	.product {
		flex-direction: row; /* Keep the image on the left, text on the right */
		align-items: center;
	}
	.product img {
		width: 120px; /* Reduce image size for mobile */
		height: auto;
	}
	.product-info {
		margin-left: 20px;
		text-align: left;
	}
	.pagination a {
		font-size: 1rem;
	}
}

/* Responsive design for devices with max-width: 576px (small phones) */
@media screen and (max-width: 576px) {
	

	/* Product layout */
	.product {
		display: flex;
		flex-direction: row;
		/* Keep the image on the left and text on the right */
		align-items: center;
		justify-content: flex-start; /* Align items to the left */
	}
	.product img {
		width: 110px; /* Keep the image size reasonable */
		height: auto;
		margin-right: 15px; /* Space between the image and text */
	}
	.product-info {
		text-align: left;
	}

	/* Pagination */
	.pagination a {
		font-size: 0.95rem;
	}
}

/* Responsive design for even smaller phones (max-width: 480px) */
@media screen and (max-width: 480px) {
	
	

	/* Product layout */
	.product {
		display: flex;
		flex-direction: row;
		/* Keep the image on the left and text on the right */
		align-items: center;
		justify-content: flex-start; /* Keep alignment to the left */
	}
	.product img {
		width: 100px;
		height: auto;
		margin-right: 12px; /* Less space between image and text */
	}
	.product-info {
		text-align: left;
	}

	/* Pagination */
	.pagination a {
		font-size: 0.9rem;
	}
}

/* Responsive design for very small phones (max-width: 400px) */
@media screen and (max-width: 400px) {
	/* Product layout */
	.product {
		flex-direction: column; /* Stack the image on top of the text */
		align-items: center; /* Center-align the content */
		justify-content: center;
	}
	.product img {
		width: 100%; /* Smaller image size */
		height: auto;
		margin-bottom: 10px; /* Space between image and text */
	}
	.product-info {
		text-align: center; /* Center-align the text */
	}
}



/* Footer Styles */
.footer {
	background-color: black;
	color: #32CD32; /* Vivid light green */
	padding: 20px;
	text-align: center;
	margin-top: auto;
	/* Push the footer to the bottom if content is short */
}

.footer a {
	color: #32CD32; /* Vivid light green */
	text-decoration: none;
	margin: 0 10px;
}

.footer a:hover {
	text-decoration: underline;
}

/* Credit Card Logos Section */
.credit-card-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #000;
	padding: 20px;
	margin-top: 1px;
	/* Increased margin to add more space from footer links */
}

.credit-card-logo {
	max-width: 200px; /* Adjust this to the classic size */
	height: auto; /* Maintain aspect ratio */
	margin-top: 10px; /* Additional space between footer links and logo */
}

/* Age Verification Modal */
.age-verification-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
	display: flex;
	justify-content: center;
	align-items: center;
	visibility: visible;
	opacity: 1;
	transition: visibility 0.3s, opacity 0.3s;
	z-index: 9999; /* Ensure it's on top of other content */
}

.modal-content {
	background-color: white;
	padding: 30px;
	border-radius: 10px;
	text-align: center;
	max-width: 500px;
	width: 100%;
}

.modal-content h2 {
	font-size: 2rem;
	margin-bottom: 20px;
}

.modal-content p {
	font-size: 1.2rem;
	margin-bottom: 20px;
}

.modal-buttons {
	display: flex;
	justify-content: space-around;
	gap: 20px;
}

.verify-btn, .deny-btn {
	padding: 10px 20px;
	font-size: 1rem;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.verify-btn {
	background-color: #27ae60; /* Green for verification */
}

.verify-btn:hover {
	background-color: #2ecc71;
}

.deny-btn {
	background-color: #e74c3c; /* Red for denial */
}

.deny-btn:hover {
	background-color: #c0392b;
}



