/* Products Page Specific CSS */

.large-search-box-wrapper {
    width: 100%;
    margin-bottom: 40px;
}

.large-search-box {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.large-search-box:focus-within {
    border-color: var(--accent-color, #055722);
    box-shadow: 0 4px 25px rgba(5, 87, 34, 0.15);
    transform: translateY(-1px);
}

.large-search-input {
    width: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 12px 50px 12px 60px !important;
    font-size: 1.05rem;
    height: 52px !important; /* Slim but elegant */
    background: transparent !important;
    color: var(--primary-color, #04210e);
}

.large-search-box .search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.large-search-box:focus-within .search-icon {
    color: var(--accent-color, #055722);
}

.large-search-box .clear-search-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.7rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.large-search-box .clear-search-btn:hover {
    color: #ef4444;
    transform: translateY(-50%) scale(1.15);
}

/* Premium Pagination Styling */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.premium-pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.premium-pagination .page-item {
    list-style: none;
}

.premium-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    border: 1px solid #e2e8f0;
    color: var(--primary-color, #04210e);
    background: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    text-decoration: none;
}

.premium-pagination .page-link:hover {
    background: var(--secondary-color, #F0F7F2);
    color: var(--accent-color, #055722);
    border-color: var(--accent-color, #055722);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(5, 87, 34, 0.1);
}

.premium-pagination .page-item.active .page-link {
    background: var(--accent-color, #055722);
    color: #ffffff;
    border-color: var(--accent-color, #055722);
    box-shadow: 0 5px 15px rgba(5, 87, 34, 0.3);
}

.premium-pagination .page-item.disabled .page-link {
    color: #cbd5e1;
    background: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Page Header & Breadcrumbs */
.page-header {
    background: linear-gradient(135deg, #04210e 0%, #055722 100%);
    padding: 90px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(8, 125, 50, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-header p {
    color: #e2f0e7;
    max-width: 650px;
    margin: 0 auto 24px;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #8bb39a;
    content: "/";
    padding: 0 10px;
}

.breadcrumb-item a {
    color: #e2f0e7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #ffffff;
}

.breadcrumb-item.active {
    color: #8bb39a;
    font-weight: 500;
}

/* General overrides */
.product-card {
    cursor: pointer !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-img-wrapper {
    height: 260px !important; /* increased height */
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important; /* cover the container fully */
    padding: 0 !important; /* no padding to fill completely */
    transition: transform 0.5s ease;
}

@media (max-width: 767px) {
    .product-img-wrapper {
        height: 200px !important; /* increased mobile height */
    }
}
