body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f8f9fa;
    margin: 0;
    padding: 20px;
}

h1 {
    margin-bottom: 20px;
    background-color:black;
    color:white;
}

.store-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-top: 20px;
}

.notice-banner {
    background-color: #ffcc00; /* Light yellow background */
    color: #333; /* Dark text */
    text-align: center;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #ffa500; /* Orange border */
    margin-bottom: 20px;
}

.notice-banner a {
    color: #d35400; /* Darker orange for email link */
    text-decoration: underline;
    font-weight: bold;
}

.notice-banner a:hover {
    color: #ff4500; /* Reddish-orange on hover */
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.photo-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
}

.photo-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

.photo-card img:hover {
    transform: scale(1.05);
}

h2 {
    font-size: 18px;
    margin-top: 10px;
}

.photo-description {
    font-size: 14px;
    color: #555;
}

.photo-quality {
    font-size: 14px;
    color: #777;
    margin-top: -8px;
    margin-bottom: 12px;
    font-style: italic;
}

.buy-button {
    display: inline-block;
    padding: 10px 15px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.buy-button:hover {
    background: #218838;
}

/* Popup Styling */
.popup {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
    overflow: auto;
    padding: 5vh 0; /* Adds space at top and bottom */
}

.popup-content {
    max-width: 90%;
    max-height: 80vh; /* Ensures there's space at the bottom */
    margin: auto;
    border-radius: 10px;
    display: block;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.back-button {
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.back-button:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
}
