* {
    font-family: 'Poppins', sans-serif;
}

.checkout-btn {
    background-color: #5d2977;
    color: white;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #4a2061;
    color: white;
    /* Ensure text remains white */
}

.checkout-btn:disabled {
    background-color: gray;
    cursor: not-allowed;
}

.counter-btn {
    background-color: #5d2977;
    color: white;
    border: none;
}

.counter-btn:disabled {
    background-color: gray;
}

.price-badge {
    background: white;
    color: #5d2977;
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    display: none;
    /* Hidden by default */
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

body {
    background-color: #f8f9fa;
    /* Light gray background for better contrast */
}

.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 97%;
}

.card {
    border: 1px solid #ddd;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h1,
h3 {
    color: #5d2977;
}

.alert {
    border-radius: 8px;
}

.checkout-btn {
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}

.checkout-btn:disabled {
    background-color: gray;
    cursor: not-allowed;
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    /* or whatever height you prefer */
    object-fit: contain;
}


.footer {
    background: linear-gradient(135deg, #1c1c1c, #3d0f6f);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer .social-icons i {
    font-size: 20px;
    margin: 0 15px;
}

.footer .social-icons i:hover {
    color: #ddd;
}

@media (max-width: 768px) {
    .footer .contact-info {
        margin-bottom: 15px;
    }
}

<style>.gallery img {
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Grid layout for images */
#my-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    /* Minimum of 150px per image */
    gap: 0.5rem;
    /* Reduced space between images */
    margin-top: 1rem;
}

/* Image style */
.gallery-img {
    width: 100%;
    /* Make images fill the container */
    height: 100%;
    /* Ensure the height is 100% to maintain aspect ratio */
    object-fit: cover;
    /* Ensure images are cropped to fit the container without distortion */
}

/* Optional: Ensure the gallery works well on small screens */
@media (max-width: 576px) {
    #my-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        /* Smaller minimum size for mobile */
    }
}

.pswp__img {
    object-fit: contain;
    /* Ensures the image fits without stretching */
    max-width: 100%;
    max-height: 100vh;
    /* Limits height to viewport height */
    width: auto;
    /* Allows natural width based on aspect ratio */
    height: auto;
    /* Allows natural height based on aspect ratio */
}
