/**
 * Theme Name:  XSAuctions
 * Theme URI:   https://xsauctions.ca/
 * Description: XSAuctions is a custom WordPress theme designed for auction websites, built on the Kadence framework.
 * Author:      UrlDev
 * Author URI:  https://urldev.com/
 * License:     GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: xsauctions
 * Template:    kadence
 * Version:     1.0.0
 */

/* Category styles */
.xsa-gallery-category {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin: 0;
    margin-bottom: .5rem;
}

/* Auction Banner styles */
.auction-banner {
    margin-bottom: 2rem;
}
.auction-banner img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Auction Gallery styles */
.auction-gallery {
    margin-bottom: 2rem;
}

/* Gallery Lightbox styles */
.lightbox-gallery {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
.lightbox-gallery a img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.lightbox-gallery a img:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Bid now button styles */
.auction-bid-now {
    margin-bottom: 2rem;
}
.auction-bid-now .bid-now-button{
    width: 100%;
    text-align: center;
    font-size: 20px;
    background-color: #f83029;
    padding: 15px 30px;
    color: #ffffff;
}
.auction-bid-now .bid-now-button:hover {
    background-color: #000000;
}
.auction-bid-now .auction-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

@media (max-width: 960px) {
    .lightbox-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 767px) {
    .lightbox-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}