
.pgs-gallery {
    margin: 20px 0;
}

.pgs-selected-count {
    background: #f0f0f0;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pgs-selected-count .count {
    font-weight: bold;
}

.pgs-add-all-to-cart {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.pgs-add-all-to-cart:hover {
    background: #005a87;
}

.pgs-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.pgs-photo-item {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
}

.pgs-photo-wrapper {
    position: relative;
}

.pgs-photo-item img {
    width: 100%;
    height: auto;
    display: block;
}

.pgs-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.pgs-photo-item:hover .pgs-photo-overlay {
    transform: translateY(0);
}

.pgs-photo-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.pgs-price {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.pgs-select {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.pgs-select input[type="checkbox"] {
    margin-right: 10px;
}

.pgs-photo-item.selected {
    border-color: #0073aa;
    box-shadow: 0 0 10px rgba(0, 115, 170, 0.3);
}
