/* ===== Hezi Product Grid Widget ===== */
.hezi-product-grid {
    width: 100%;
}
.hezi-product-grid .grid-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.hezi-product-grid .grid-item {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e8e8e8;
    padding: 15px;
    transition: all 0.3s ease;
}
.hezi-product-grid .grid-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: #FAB702;
    transition: height 0.4s ease;
    z-index: 0;
}
.hezi-product-grid .grid-item:hover::before {
    height: 100%;
}
.hezi-product-grid .grid-item:hover {
    border-color: #FAB702;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.hezi-product-grid .grid-item a {
    text-decoration: none !important;
    color: inherit;
    display: block;
    position: relative;
    z-index: 1;
}
.hezi-product-grid .grid-thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 260px;
}
.hezi-product-grid .grid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.hezi-product-grid .grid-thumb .grid-cat {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #FAB702;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    line-height: 1.5;
    z-index: 2;
    text-transform: capitalize;
}
.hezi-product-grid .grid-info {
    padding: 1rem 0.5rem;
    text-align: center;
}
.hezi-product-grid .grid-info .grid-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s;
}
.hezi-product-grid .grid-item:hover .grid-title {
    color: #fff;
}
.hezi-product-grid .grid-item:hover .grid-desc {
    color: rgba(255,255,255,0.85);
}
.hezi-product-grid .grid-info .grid-desc {
    margin: 0.4rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #888;
}

/* Pagination */
.hezi-product-grid .grid-pagination {
    text-align: center;
    margin-top: 40px;
    padding-top: 0;
    width: 100%;
    clear: both;
    font-size: 0;
}
.hezi-product-grid .grid-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 3px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid #ddd;
    border-radius: 0;
    color: #555;
    background: #fff;
    transition: all 0.25s ease;
    line-height: 1;
    vertical-align: middle;
}
.hezi-product-grid .grid-pagination a.page-numbers:hover {
    color: #FAB702;
    border-color: #FAB702;
    background: #fff;
}
.hezi-product-grid .grid-pagination .page-numbers.current {
    color: #FAB702;
    border-color: #FAB702;
    background: #fff;
}
.hezi-product-grid .grid-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: #bbb;
    min-width: 30px;
    padding: 0;
    letter-spacing: 2px;
}
.hezi-product-grid .grid-pagination .page-numbers.prev,
.hezi-product-grid .grid-pagination .page-numbers.next {
    padding: 0 10px;
}
.hezi-product-grid .grid-pagination .page-numbers svg {
    display: block;
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 992px) {
    .hezi-product-grid .grid-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 576px) {
    .hezi-product-grid .grid-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
