/* 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%;
	max-width: 100%;
}


body {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	overflow-x: hidden; /* Prevent horizontal scrolling  */
}
/* Container for the product details */
.container {
    display: flex;
    justify-content: space-between;  /* Distribute space between columns */
    align-items: flex-start;  /* Align items to the top */
    gap: 10px; /* Space between the columns */
    padding: 10px 25px;
    margin-top: 20px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}



/* 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 */
}





h1 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 40px;
}



.price {
	font-weight: bold;
	color: #27ae60;
}

.buy-now {
    background-color: #ff9900;
    color: white;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}


/* 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;
	
	width: 100%; /* Takes up the full width of the parent container */
    text-align: center; /* Centers the text inside the button */
}

.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-container {
    display: flex;
    justify-content: center; /* Center aligns the quantity controls */
    align-items: center;
    gap: 10px; /* Space between buttons and input */
    margin-bottom: 15px; /* Adds space below the quantity selector */
}
.quantity-btn {
	background-color: #007bff;
	color: #fff;
	border: none;
	padding: 5px 10px;
	border-radius: 5px;
	cursor: pointer;
}

.quantity-btn:hover {
	background-color: #0056b3;
}

.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;
}







span {
	margin: 0 0px;
}




/* 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;
}



/* Left Column: Product Images */
.first-column {
    flex: 1 1 35%; /* First column takes 35% of the space */
    max-width: 35%; /* Set a max-width for the image column */
    /*width: 40.0%;*/
}

.first-column img {
    width: 100%; /* Make the image responsive */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Middle Column: Product Details */
.second-column {
    flex: 1 1 48%;
    max-width: 48%;
}

.second-column h1 {
	text-align: left;
    color: #111;
    font-weight: normal;
    font-family: 'Amazon Ember', sans-serif;
    
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.second-column p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

.second-column hr {
    margin: 20px 0;
    border: 1px solid #ddd;
}

.second-column h2 {
	text-align: left;
    font-size: 1.0rem;
    margin-bottom: 10px;
    color: #111;
}

/* Bullet Points in 'About this item' */
.second-column ul {
    list-style-type: none;
    padding-left: 0;
}

.second-column li {
    font-size: 1.0rem;
    color: #111;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.second-column li:before {
    content: '•';  /* Custom bullet symbol */
    position: absolute;
    left: 0;
    color: #111;  /* Green for bullet point */
    font-size: 1.5rem;
    top: 0;
}

/* Right Column: Purchase Options */
.third-column {
    flex: 1 1 17%;
    max-width: 17%; /* Set a max-width for the purchase column */
}

.purchase-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.purchase-box p {
    margin: 5px 0;
    font-size: 14px;
}

#purchase-price {
	font-size: 1.5rem;
}

.details-box {
        display: none;
        position: absolute;
        background: white;
        border: 1px solid #ddd;
        padding: 10px;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        width: 150px;
        z-index: 10;
    }
/* Show details box when active */
    .details-box.active {
        display: block;
    }

.details-link {
    color: #0073e6;
    text-decoration: none;
}
#list-price {
	font-size: 0.8rem;
}

.details-link:hover {
    text-decoration: underline;
}

@media screen and (max-width: 576px) {
    /* Styles for phones (screen width 576px or smaller) */
    
    .container {
        width: 100%;  /* Ensure the container takes up the full width of the screen */
        max-width: 100%;
        flex-direction: column; /* Stack the columns vertically */
        padding: 0 15px;  /* Add some padding on the left and right */
        box-sizing: border-box; 
    }

    .first-column,
    .second-column,
    .third-column {
        width: 100%;  /* Make each column take the full width */
        display: block;
        margin-bottom: 20px;  /* Add space between columns */
    }

    .first-column img {
        width: 100%;  /* Ensure the image takes up the full width */
        height: auto;  /* Maintain aspect ratio */
    }

    .second-column h1 {
        font-size: 1.5rem;  /* Adjust font size for better readability */
    }

    .add-to-cart {
        width: 100%;  /* Make the button take up full width */
        padding: 15px;  /* Increase padding for a better touch experience */
    }

    /* Any other customizations for mobile phones can go here */
}

@media screen and (max-width: 768px) {
    /* Styles for larger phones and smaller tablets (screen width 768px or smaller) */
    /* Apply padding or margin to the body */

    .container {
        width: 100%;  /* Ensure the container takes up the full width of the screen */
        max-width: 100%;
        flex-direction: column; /* Stack the columns vertically */
        padding: 0 15px;  /* Add some padding on the left and right */
        box-sizing: border-box; 
    }

    .first-column,
    .second-column,
    .third-column {
        width: 100%;  /* Make each column take the full width */
        display: block;
        margin-bottom: 20px;  /* Add space between columns */
        
        
        max-width: 100%;
        
        /*flex: none;*/
    
    }

    .first-column img {
        width: 100%;  /* Ensure the image takes up the full width */
        height: auto;  /* Maintain aspect ratio */
    }

    .second-column h1 {
        font-size: 1.8rem;  /* Adjust font size for larger phones */
    }

    .add-to-cart {
        width: 100%;  /* Make the button take up full width */
        padding: 15px;  /* Increase padding for a better touch experience */
    }

    /* Any other customizations for larger phones or smaller tablets can go here */
}


@media screen and (max-width: 480px) {
    /* Styles for smaller phones (screen width 480px or smaller) */
    .container {
        flex-direction: column; /* Stack the columns vertically */
        padding: 0 10px; /* Reduce padding for smaller screens */
    }

    .first-column,
    .second-column,
    .third-column {
        width: 100%; /* Columns take the full width */
        max-width: 100%;
        margin-bottom: 15px; /* Less space between sections */
        /*flex: none;*/
    }

    .first-column img {
        width: 100%; /* Ensure images are responsive */
        height: auto; /* Maintain aspect ratio */
    }

    .second-column h1 {
        font-size: 1.3rem; /* Adjust font size for readability */
    }

    .add-to-cart {
        padding: 12px; /* Increase padding for touchscreens */
        width: 100%; /* Full-width buttons */
    }

    

    
}

@media screen and (max-width: 400px) {
    /* Styles for very small devices (screen width 400px or smaller) */
    .container {
        flex-direction: column; /* Stack columns */
        padding: 0 8px; /* Reduce padding further */
    }

.first-column,
    .second-column,
    .third-column {
        max-width: 100%;
        
        
    }

    .first-column img {
        border-radius: 8px; /* Slightly smaller border radius */
    }

    .second-column h1 {
        font-size: 1.2rem; /* Further font size reduction */
    }

    .add-to-cart {
        padding: 10px; /* Adjust padding */
        font-size: 0.9rem; /* Adjust button text size */
    }

    

    .credit-card-logo {
        max-width: 150px; /* Adjust logo size */
    }

    

    .modal-content {
        padding: 20px; /* Adjust modal padding */
        font-size: 0.9rem; /* Reduce modal font size */
    }
}
.shipping-info {
        position: relative;
display: inline-block;
}

/* Style for the List Price details */
.list-price {
  display: inline-block;
  position: relative;
}
/* Strike-through effect for the List Price */
.list-price span {
    text-decoration: line-through;  /* Adds the line through the price */
    color: #888; /* Makes the crossed-out price a light gray */
}
.list-price small {
  font-size: 0.8rem;
  color: #888;
}


.list-price-details-box {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  max-width: 300px;
  font-size: 0.9rem;
  margin-top: 5px;
  z-index: 100;
  border-radius: 5px;
  background-color: #f9f9f9;
}

/* Styling to make sure the box is aligned below the exclamation mark */
.list-price .list-price-details-box {
  top: 20px;
  left: 0;
}

/* Style for the Discount */
.discount {
  color: red; /* Make -7% in red */
  font-weight: normal;
  font-size: 1.5rem;
  margin-right: 5px; /* Add a little space between discount and the price */
  display: inline-block; /* Ensures it's treated like text and stays in the same line */
}

/* Style for the List Price and Exclamation */
.list-price-container {
  display: flex;
  align-items: center;
  margin-top: 5px;
  gap: 5px; /* Small space between List Price and Exclamation */
  position: relative; /* Necessary to position the popup below */
}

.list-price-container small {
  font-size: 0.8rem;
  color: #888;
}

/* Container for Price and List Price to Align Correctly */
.price-container {
  display: flex;
  align-items: flex-start;
  
}
.list-price-container .list-price-details-box {
  top: 20px;
  left: 0;
}

.price-container .price {
    color: black; /* Set price to black */
    font-weight: normal; /* Remove bold from the price */
    font-size: 1.5rem;
}