/* ==================================================
   G'LONG HERITAGE GALLERY - FULL GALLERY PAGE
================================================== */

.gallery-page-heading {
    background: #f8f9fa;
    padding: 55px 0 45px;
    border-bottom: 1px solid #f0e5c9;
}

.gallery-page-heading h1 {
    margin-bottom: 12px;
}

.gallery-page-heading p {
    color: #777;
}

.gallery-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.gallery-results-bar h3 {
    font-size: 25px;
}

.gallery-sidebar {
    border-left: 1px solid #eee;
    padding-left: 25px;
}

.gallery-sidebar-block {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.gallery-sidebar-block:last-child {
    border-bottom: none;
}

.gallery-sidebar-block h5 {
    font-size: 16px;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.gallery-search-box {
    display: flex;
}

.gallery-search-box .form-control {
    height: 46px;
    min-width: 0;
}

.gallery-search-box button {
    width: 46px;
    flex: 0 0 46px;
    border: 0;
    background: #d5a738;
    color: #fff;
}

.gallery-filter-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
}

.gallery-filter-btn {
    width: 100%;
    border: 0;
    background: transparent;
    color: #444;
    text-align: left;
    padding: 8px 10px;
    font-size: 14px;
    transition: 0.2s;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: #d5a738;
    color: #fff;
}

.gallery-summary-button {
    width: 100%;
    border: 1px solid #eee;
    background: #fff;
    padding: 11px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: 0.2s;
}

.gallery-summary-button:hover,
.gallery-summary-button.active {
    border-color: #d5a738;
    color: #d5a738;
}

.gallery-summary-button strong {
    min-width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background: #d5a738;
    color: #fff;
    font-size: 12px;
}

.gallery-cart-list {
    margin-top: 12px;
}

.gallery-cart-item {
    display: flex;
    gap: 9px;
    padding: 9px 0;
    border-bottom: 1px solid #eee;
}

.gallery-cart-item:last-child {
    border-bottom: none;
}

.gallery-cart-item img {
    width: 55px;
    height: 42px;
    object-fit: contain;
    background: #f8f8f8;
    flex-shrink: 0;
}

.gallery-cart-item-name {
    display: block;
    font-size: 12px;
    line-height: 1.3;
}

.gallery-cart-item-price {
    display: block;
    color: #d5a738;
    font-size: 12px;
    font-weight: 600;
    margin-top: 3px;
}

.gallery-empty {
    padding: 60px 20px;
    color: #777;
}

/* Full gallery reuses the artwork design from index.css. */
#gallery-art-list .home-art-card {
    background: #fff;
}

/* Three columns in the left gallery area on large screens. */
#gallery-art-list>.gallery-art-column {
    width: 33.333333%;
}

/* Keep artwork fully visible, never crop it. */
#gallery-art-list .home-art-image {
    object-fit: contain;
}

@media (max-width: 991px) {
    .gallery-sidebar {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 30px;
        margin-top: 15px;
    }

    #gallery-art-list>.gallery-art-column {
        width: 50%;
    }
}

@media (max-width: 575px) {
    .gallery-page-heading {
        padding: 35px 0 30px;
    }

    #gallery-art-list>.gallery-art-column {
        width: 100%;
    }
}

/* ==================================================
   TOP GROUP FILTER
================================================== */

.gallery-top-group-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.gallery-top-group-btn {
    min-width: 110px;
    padding: 10px 24px;
    border: 1px solid #d5a738;
    background: #fff;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.2s;
}

.gallery-top-group-btn:hover,
.gallery-top-group-btn.active {
    background: #d5a738;
    color: #fff;
}