/* styles.css */

body {
    background-color: rgb(22, 22, 22); /* Darker grey background */
    color: #fff; /* White text */
    font-family: 'Arial', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

.disable-download img {
    pointer-events: none;
}

.link-transition a {
    transition: background 0.2s ease, color 0.2s ease;
}

.link-transition a svg {
    transition: fill 0.2s ease;
}

/* New Header Styles */
.header {
    background-color: rgb(12, 12, 12); /* Black background */
    color: #fff;
    padding: 40px;
    padding-bottom: 50px; /* Add padding to the bottom */
    display: flex;
    justify-content: space-between; /* Spread content horizontally */
    align-items: center; /* Center content vertically */
    width: 100%; /* Full width */
    box-sizing: border-box; /* Include padding and border in total width */
}

.header-content {
    display: flex;
    align-items: center; /* Center content vertically */
    /*max-width: 1200px; */
    margin: 20 auto; /* Center the content */
    width: 100%; /* Full width */
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%; /* Adjust the width as needed */
}

.logo img {
    max-height: 175px;
    width: auto;
    max-width: 100%;
}

.main-menu {
    display: flex;
    align-items: center;
    width: 35%; /* Adjust the width as needed */
    margin-left: 25px;
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-menu li {
    margin-right: 18px;
}

.main-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 100;
    font-style: normal;
    font-size: 19px;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #3498db;
}
/* End of New Header Styles */

.image-grid {
    max-width: 1200px;
    margin: 0 auto; /* Center the grid */
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four images per row */
    gap: 20px;
    padding: 20px;
}

.image {
    position: relative;
    width: 250px; /* Set a fixed width for the image container */
    height: 250px; /* Set a fixed height for the image container */
    overflow: hidden; /* Hide the overflowing content */
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.buy-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.payment-buttons {
    text-align: center;
    padding: 20px;
}

#crypto-button-container {
    /* Add styling for your crypto payment button container */
}

.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    transform: translate(-50%, -50%); /* Shift back by half the width and height */
    background-color: rgb(53, 53, 53); /* White background with slight transparency */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Shadow effect */
    width: 300px; /* Fixed width */
    height: auto; /* Height will adjust based on content */
    max-height: 80%; /* Maximum height */
    overflow: auto; /* Scroll if content overflows */
    padding: 20px; /* Spacing inside the popup */
}


/* Option and Add to Cart Button Styles */
.options-container .buy-option,
.buy-options #buyButton {
    background-color: transparent; /* Transparent background */
    border: 2px solid white; /* White border */
    border-radius: 8px; /* Rounded edges */
    color: white; /* White text */
    padding: 10px 15px; /* Padding */
    cursor: pointer; /* Pointer cursor */
    margin: 5px 0; /* Space between buttons */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

/* Hover Effects */
.options-container .buy-option:hover,
.buy-options #buyButton:hover {
    background-color: white; /* White fill on hover */
    color: black; /* Black text on hover */
}

.popup-content {
    max-height: 100%; /* Prevents content overflow */
    overflow: auto; /* Scroll if content overflows */
}

.popup-title {
    font-size: 1.5em; /* Title font size */
    margin-bottom: 10px; /* Space below title */
}

.popup-description {
    font-size: 1em; /* Description font size */
    margin-bottom: 20px; /* Space below description */
}

.popup-image-container {
    text-align: center; /* Center the image */
}

.popup img {
    max-width: 100%; /* Responsive image */
    max-height: 150px; /* Fixed height for image */
}

/* Hide Popup Overlay */
.popup-overlay {
    display: none; /* Hide by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 999; /* On top of other content */
}

/* Highlight Selected Option */
.options-container .buy-option.selected {
    border: 2px solid lightgray; /* Light grey border for selected option */
    background-color: rgba(255, 255, 255, 0.2); /* Light background for visibility */
}


.buy-options #buyButton {
    background-color: lightgray; /* Light grey background */
    border: 2px solid white; /* White border */
    border-radius: 8px; /* Rounded edges */
    color: black; /* Black text */
    padding: 10px 15px; /* Padding */
    cursor: pointer; /* Pointer cursor */
    margin: 5px 0; /* Space between buttons */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}


.disabled {
    background-color: #ccc; /* Gray background for disabled button */
    cursor: not-allowed; /* Change cursor for disabled state */
}

.enabled {
    background-color: #28a745; /* Green background for enabled button */
    cursor: pointer; /* Change cursor for enabled state */
}
/* Add to Cart Button Styles */
#addToCartButton {
    background-color: white; /* White background when not pressed */
    border: 2px solid white; /* White border */
    border-radius: 8px; /* Rounded edges */
    color: black; /* Black text */
    padding: 10px 15px; /* Padding */
    cursor: pointer; /* Pointer cursor */
    margin: 5px 0; /* Space above and below the button */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
    width: 100%; /* Full width */
    /* max-width: 200px; Set a max-width to maintain consistency */
}

/* Hover Effects for Add to Cart Button */
#addToCartButton:hover {
    background-color: lightgray; /* Light gray on hover */
    color: black; /* Keep black text on hover */
}

#addToCartButton:active {
    background-color: #aaa; /* Darker gray on press */
    color: black; /* Keep black text on press */
}

/* Optional: Style when the button is selected (similar to other buttons) */
#addToCartButton.selected {
    border: 2px solid lightgray; /* Light gray border for selected option */
    background-color: rgba(255, 255, 255, 0.2); /* Light background for visibility */
}

.cart-message {
    color: green; /* Message text color */
    margin-top: 10px; /* Space above the message */
}

#cart-section {
    position: relative; /* Position for absolute child elements */
    display: flex; /* Flexbox for alignment */
    justify-content: center; /* Center horizontally */
    margin-top: 20px; /* Space below the header */
}

#cart-icon {
    width: 60px; /* Adjust size to your preference */
    height: 80px; /* Adjust size to your preference */
}

#cart-count {
    position: absolute;
    top: 5px; /* Adjust this value to position the bubble */
    right: 5px; /* Adjust this value to position the bubble */
    background-color: red; /* Background color for the bubble */
    color: white; /* Text color */
    border-radius: 50%; /* Make it circular */
    padding: 2px 6px; /* Padding inside the bubble */
    font-size: 12px; /* Font size for the count */
    font-weight: bold; /* Make text bold */
    display: flex; /* Center text vertically and horizontally */
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
}

/* Cart Popup Specific Styles */
#cartPopup {
    background-color: rgb(255, 255, 255); /* White background for the cart popup */
    color: #000; /* Black text for better readability */
}

/* Cart Item Styles */
.cart-item {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center items vertically */
    margin-bottom: 15px; /* Space between items */
}

.cart-item img {
    width: 50px; /* Fixed width for images */
    height: auto; /* Maintain aspect ratio */
    margin-right: 15px; /* Space between image and text */
}

.cart-item-details {
    flex-grow: 1; /* Allow this section to take up remaining space */
}

/* Total Price Style */
.total-price {
    font-weight: bold; /* Bold text for total */
    margin-top: 20px; /* Space above total */
}