/*
Theme Name: FurniHub Theme
Theme URI: https://abdulseo.com/furnihub
Author: Abdul SEO
Description: Custom theme for FurniHub Marketplace based on the provided HTML.
Version: 1.0.1
*/

/* --- FurniHub Global Modern Pagination --- */
.furnihub-pagination,
.page-numbers-container,
.pagination,
nav[aria-label="Pagination"] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
    justify-content: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

a.page-numbers:hover {
    background-color: #f9fafb;
    border-color: #cbd5e1;
    color: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.page-numbers.current {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px -1px rgba(22, 163, 74, 0.35);
    cursor: default;
    pointer-events: none;
}

.page-numbers.dots {
    border: none;
    background: transparent;
    box-shadow: none;
    color: #9ca3af;
    cursor: default;
    pointer-events: none;
}

.page-numbers.prev,
.page-numbers.next {
    padding: 0 0.875rem;
    gap: 0.25rem;
}

/* --- FurniHub Global Logo Image Control --- */
.furnihub-logo-img,
img.furnihub-logo-img {
    max-height: 40px !important;
    height: 36px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

nav .furnihub-logo-img,
header .furnihub-logo-img {
    max-height: 40px !important;
    height: 38px !important;
}

footer .furnihub-logo-img {
    max-height: 44px !important;
    height: 38px !important;
}

/* --- Home Products Grid Layout (4 or 5 per baris) --- */
@media (min-width: 1024px) {
    .home-grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
    .home-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .home-grid-cols-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}