.gm-gallery-wrapper {
    margin: 0 auto;
    color: #1a1a1a;
    background: #FCFCFC;
}

.gm-category-box {
    padding: 48px 0;
    border-bottom: 1px solid #E6E6E6;
    background: #fefefe;
}

.gm-gallery-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 32px;
    margin-top: 0;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.gm-gallery-categories button {
    color: #1a1a1a;
    background: transparent;
    border: none;
    padding: 14px 26px;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 500;
}

.gm-gallery-categories button:hover {
    background: #f3f4f6;
}

.gm-gallery-categories button.active {
    background: #1a1a1a;
    color: #fff;
}

.gm-search-bar {
    max-width: 670px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
}

.gm-search-bar .gm-search {
    width: 100%;
    display: flex;
    position: relative;
}

.gm-search-bar input {
    flex-grow: 1;
    padding: 15px 16px 15px 35px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    outline: none;
    transition: border-color 0.3s ease;
}

.gm-search-bar input::placeholder {
    font-size: 14px;
    color: #999;
}

.gm-search-bar input:focus {
    border: 1px solid #D4AF37;
}

.gm-search-bar svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #999;
    pointer-events: none;
}

.gm-filter-btn {
    padding: 16px 23px;
    font-size: 16px;
    background: #222;
    color: #fff;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gm-filter-btn:hover {
    background: #D4AF37;
    color: #222;
}

#gm-gallery-items {
    margin: 0 auto;
    width: 100%;
    max-width: 1352px;
    padding: 68px 0;
    text-align: center;
}

.gm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 0 24px;
}

.gm-gallery-item {
    background: #FCFCFC;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 40px -15px #0000001a;
    border-radius: 10px;
    max-height: max-content;
    text-align: left;
    transition: box-shadow 0.3s ease,
    transform 0.3s cubic-bezier(.4, 0, .2, 1);
}

.gm-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px -20px #00000026;
}

.gm-gallery-item:hover h3 {
    color: #D4AF37;
}

.gm-gallery-item:hover img {
    transform: scale(1.1);
}

.gm-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.gm-category-label {
    position: absolute;
    top: 16px;
    right: 16px;
    font-weight: 500;
    color: #1a1a1a;
    background: #D4AF37;
    padding: 2px 8px;
    font-size: 13px;
    border-radius: 25px;
}

.gm-gallery-item img {
    border-radius: 10px 10px 0 0!important;
    width: 100%;
    height: 320px !important;
    min-height: 320px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.gm-gallery-item .gm-container {
    padding: 20px 24px 24px;
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.gm-gallery-item h3 {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.75rem;
    margin: 0;
    margin-bottom: .5rem;
}

.gm-gallery-item .gm-gallery-description p {
    margin: 0;
    margin-bottom: .5rem;
    color: #4b5563;
    font-size: 16px;
}

.gm-gallery-item .gm-gallery-description p strong {
    font-weight: 600;
}

.gm-gallery-item .gm-buy-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.gm-gallery-item .gm-price {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.gm-gallery-item .gm-interest-button {
    margin-top: auto;
    padding: 11px 15px;
    background: #1a1a1a;
    color: #fff;
    font-size: 14px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gm-gallery-item .gm-interest-button:hover {
    background: #D4AF37;
    color: #1a1a1a;
}

.gm-pagination {
    margin-top: 40px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.gm-page-btn {
    padding: 8px 12px;
    border: 2px solid #ccc;
    background: transparent;
    cursor: pointer;
    color: #1a1a1a;
}

.gm-page-btn.active {
    background: #222;
    color: #fff;
    border-color: #222;
}

@media (max-width: 991px) {
    .gm-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .gm-gallery-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding: 0 16px;
    }

    .gm-category-box {
        padding: 25px 10px;
    }

    #gm-gallery-items {
        padding: 40px 0;
    }

    .gm-search-bar {
        flex-direction: column;
        padding: 0 6px;
    }

    .gm-filter-btn {
        width: 100%;
    }
}