.auction-section {
    display: flex;
    flex-direction: column;
    padding-top: 100px;
}

.auction-title {
    position: relative !important;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    transform: none !important;
    left: auto !important;
    margin-bottom: 60px;
}

.collections-container {
    width: 100%;
}

.collection-section {
    margin-bottom: 80px;
    width: 100%;
    position: relative;
}

.collection-section:last-child {
    margin-bottom: 0;
}

.collection-title {
    font-family: "BIZ UDPMincho", serif;
    color: #182022;
    font-size: 1.8em;
    padding-left: 15px;
    border-left: 4px solid #21c2a6;
    margin-bottom: 30px;
    max-width: 1170px;
}

.collection-section .auction-cards {
    margin-top: 15px;
    width: 100%;
    display: block;
}

.collection-section .auction-carousel {
    padding-left: 15px;
}

.auction-item {
    width: 220px; /* 200px + padding */
}

.auction-item .auction-card-body {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.auction-item .auction-card-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.collection-section {
    position: relative;
    padding: 0 50px;
}

.collection-section .auction-carousel {
    position: relative;
}

.collection-section {
    position: relative;
    overflow: hidden;
}

/* Hide all navigation buttons */
.collection-section .owl-nav {
    display: none !important;
}

/* Clear floats to prevent layout issues */
.collection-section::after {
    content: '';
    display: table;
    clear: both;
}

@media (max-width: 1200px) {
    .collection-title {
        margin-left: 20px;
    }
}

@media (max-width: 991px) {
    .collection-section {
        margin-bottom: 60px;
        padding: 0 15px;
    }
    
    .collection-section .auction-cards {
        margin-left: 0;
        width: 100%;
    }
    
    .collection-section .owl-nav {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 30px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .collection-section:before,
    .collection-section:after {
        display: none;
    }
    
    .collection-section .owl-nav button.owl-next:before {
        display: none;
    }

    .collection-section .owl-nav button.owl-prev,
    .collection-section .owl-nav button.owl-next {
        margin: 0 15px !important;
    }

    .collection-section .owl-nav button.owl-prev img,
    .collection-section .owl-nav button.owl-next img {
        width: 30px;
    }
}

.coming-soon-message {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(33, 194, 166, 0.05);
    border-radius: 10px;
    margin: 20px 0;
}

.coming-soon-content {
    text-align: center;
    padding: 2rem;
}

.coming-soon-content h4 {
    color: #21c2a6;
    margin: 0.5rem 0;
    font-size: 1.5rem;
}

.coming-soon-content p {
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 767px) {
    .auction-section {
        padding-top: 60px;
    }
    
    .collection-section {
        margin-bottom: 40px;
    }
    
    .collection-title {
        font-size: 1.5em;
        margin-left: 15px;
        margin-bottom: 20px;
    }

    .coming-soon-message {
        min-height: 200px;
    }
}

/* Grid Layout Styles */
.gallery-grid-container {
    width: 100%;
    padding: 20px;
}

.row-cols-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.gallery-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect ratio */
}

.gallery-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-actions {
    display: flex;
    gap: 10px;
}

.gallery-item-content {
    padding: 15px;
}

.gallery-item-title {
    font-size: 1rem;
    margin: 0 0 5px;
    color: #182022;
}

.gallery-item-collection {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 10px;
}

.gallery-item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
}

.gallery-item-date i,
.gallery-item-wallet i {
    margin-right: 5px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .row-cols-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .row-cols-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .row-cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

}
