
.gh-shop {
    padding: 35px 0 65px;
    color: #282536
}

.gh-shop-layout {
    display: grid;
    grid-template-columns: 270px minmax(0,1fr);
    gap: 30px
}

.gh-sidebar {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    background: #fff;
    align-self: start;
    overflow: hidden
}

.gh-side-title {
    padding: 19px 22px;
    border-bottom: 1px solid #e9e9e9;
    font-size: 16px;
    font-weight: 600
}

.gh-cat-list, .gh-sub-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.gh-category {
    border-bottom: 1px solid #eee;
    position: relative
}

    .gh-category:last-child {
        border-bottom: 0
    }

    .gh-category > a {
        display: block;
        padding: 12px 34px 12px 20px;
        color: #3c3c3c;
        font-size: 13px;
        text-decoration: none
    }

        .gh-category.is-active > a, .gh-category > a:hover, .gh-sub-list a:hover {
            color: #ad9450
        }

.gh-count {
    color: #999;
    font-size: 11px
}

.gh-toggle {
    position: absolute;
    right: 9px;
    top: 8px;
    background: transparent;
    border: 0;
    font-size: 20px;
    color: #999;
    width: 25px;
    height: 30px
}

.gh-sub-wrap {
    display: none;
    background: #fafafa
}

.gh-category.is-expanded .gh-sub-wrap {
    display: block
}

.gh-sub-list a {
    display: block;
    padding: 9px 18px 9px 31px;
    font-size: 12px;
    color: #555
}

.gh-sub-list li.is-active a {
    color: #ad9450;
    font-weight: 700
}

.gh-title {
    font-size: 27px;
    margin: 0 0 18px
}

.gh-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #f4f4f4;
    border-radius: 7px;
    padding: 13px 16px
}

.gh-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.gh-toolbar select {
    border: 1px solid #dedede;
    border-radius: 20px;
    padding: 7px 12px;
    background: #fff;
    min-width: 115px
}

.gh-showing {
    font-size: 13px;
    color: #777;
    margin: 12px 0 17px
}

.gh-pagination {
    display: flex;
    align-items: center;
    gap: 12px
}

.gh-page {
    color: #ad9450;
    font-size: 20px
}

    .gh-page.disabled {
        pointer-events: none;
        opacity: .3
    }

.gh-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gh-card {
    position: relative;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    background: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: box-shadow .2s,transform .2s
}

    .gh-card:hover {
        box-shadow: 0 6px 23px rgba(0,0,0,.11);
        transform: translateY(-2px)
    }


/* PRODUCT IMAGE CONTAINER */
.gh-photo {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
}

    /* PRODUCT IMAGE */
    .gh-photo img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
        transition: transform 0.3s ease;
    }

/* SUBTLE HOVER EFFECT */
.gh-card:hover .gh-photo img {
    transform: scale(1.04);
}

/* TABLET */
@media (max-width: 991px) {
    .gh-photo {
        height: 220px;
        padding: 12px;
    }
}

/* MOBILE */
@media (max-width: 650px) {
    .gh-photo {
        height: 180px;
        padding: 10px;
    }
}


.gh-discount {
    position: absolute;
    right: 0;
    top: 0;
    background: #ff6500;
    color: white;
    padding: 8px 6px;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1.1;
    text-align: center
}

.gh-category-label {
    color: #82909b;
    font-size: 12px;
    margin-top: 13px
}

.gh-product-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    min-height: 60px;
    margin: 8px 0
}

    .gh-product-name a {
        color: #1963a4
    }

.gh-price {
    font-size: 19px;
    color: #ae934a;
    font-weight: 700
}

.gh-old-price {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
    margin-left: 7px
}

.gh-free {
    font-size: 11px;
    color: #008b64;
    background: #e8f7f1;
    border-radius: 20px;
    padding: 4px 8px;
    margin: 8px 0;
    display: inline-block;
    align-self: flex-start
}

.gh-actions {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-top: auto;
    padding-top: 12px
}

.gh-cart {
    background: #ad9450;
    color: #fff !important;
    padding: 9px 10px;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 12px;
    flex: 1;
    text-align: center
}

.gh-wish {
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 8px 10px;
    color: #ad9450;
    font-size: 16px
}

.gh-qty {
    width: 47px;
    border: 1px solid #ddd;
    padding: 7px 3px
}

.gh-out {
    font-size: 12px;
    color: #b34343;
    font-weight: 600
}

.gh-empty {
    padding: 35px;
    text-align: center;
    color: #888
}

.gh-top-all {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    color: #333
}

@media(max-width:1199px) {
    .gh-grid {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
}

@media(max-width:991px) {
    .gh-shop-layout {
        grid-template-columns: 220px minmax(0,1fr)
    }

    .gh-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

@media(max-width:650px) {
    .gh-shop-layout {
        grid-template-columns: 1fr
    }

    .gh-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px
    }

    .gh-card {
        padding: 10px
    }

    .gh-photo {
        height: 145px
    }

    .gh-product-name {
        font-size: 12px
    }

    .gh-cart {
        font-size: 11px
    }
}

