/* Error Message Styling */
.eael-nft-gallery-error-message {
    background-color: #f2dede;
    color: #a94442;
    font-size: 85%;
    padding: 15px;
    border-radius: 3px;
}

/* Gallery Wrapper Styling */
.eael-nft-gallery-wrapper {
    padding: 15px 0;
    transition: 0.5s;
    overflow: hidden;
    position: relative;
}

/* Grid Layout for NFT items */
.eael-nft-gallery-wrapper.grid {
    display: grid;
    grid-template-columns: repeat(var(--columns), 1fr);
    gap: 15px;
}

/* List Layout for NFT items */
.eael-nft-gallery-wrapper.list {
    display: grid;
    grid-template-columns: auto;
    gap: 15px;
}

/* NFT Item Styling */
.eael-nft-gallery-wrapper .nft-item {
    position: relative;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.09);
    overflow: hidden;
    transition: 0.5s ease-in-out;
    border-radius: 10px;
}

/* NFT Image Styling */
.eael-nft-gallery-wrapper .nft-item img {
    object-fit: cover;
    width: 100%;
    height: auto;
    transition: 0.4s;
}

/* Hover effect on Preset 1 */
.eael-nft-gallery-wrapper.preset-1 .nft-item:hover img {
    transform: scale(1.1);
}

.eael-nft-gallery-wrapper .nft-item:hover {
    box-shadow: 0 4px 15px #d6d6d6;
}

/* Title Styling */
.eael-nft-gallery-wrapper .nft-item h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 10px;
}

/* Price Styling */
.eael-nft-gallery-wrapper .nft-item p {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

/* Additional Styling for Custom Presets */
.eael-nft-gallery-wrapper.preset-1 .nft-item .eael-nft-thumbnail img {
    transition: transform 0.4s ease;
}

.eael-nft-gallery-wrapper.preset-1 .nft-item:hover .eael-nft-thumbnail img {
    transform: scale(1.1);
}

.eael-nft-gallery-wrapper.preset-2 .nft-item {
    padding: 0;
    min-height: 300px;
}

/* Responsive adjustments */
@media only screen and (max-width: 767px) {
    .eael-nft-gallery-wrapper.grid {
        grid-template-columns: 1fr;
    }
}
