/* products.css - product section styles */

.product-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(200,161,90,.25);
    box-shadow: 0 6px 18px rgba(200,161,90,.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(200,161,90,.18);
    border-color: var(--gold);
}

.product-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f8f5ed 0%, #fff 100%);
}
.product-thumb img,
.product-thumb .shimmer-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid rgba(200,161,90,.15);
}

.product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-name {
    font-size: 1rem;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price {
    font-weight: 600;
    color: var(--gold);
    font-size: 1.1rem;
}

.product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-outline-gold {
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 25px;
    padding: 10px 20px;
}

.btn-outline-gold:hover {
    color: #fff;
    background: var(--gold);
    border-color: var(--gold);
}

/* Shimmer Loading Effect */
.shimmer-card {
    pointer-events: none;
    cursor: default;
}

.shimmer-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0;
}

.shimmer-title {
    width: 80%;
    height: 20px;
    margin: 0 auto;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.shimmer-price {
    width: 40%;
    height: 18px;
    margin: 0 auto;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Pagination - gold theme */
.pagination {
    box-shadow: none !important;
}
.pagination .page-link {
    color: var(--gold);
    border-color: rgba(200,161,90,.35);
    box-shadow: none !important;
}
.pagination .page-link:hover {
    color: #fff;
    background-color: var(--gold);
    border-color: var(--gold);
    box-shadow: none !important;
}
.pagination .page-link:focus {
    box-shadow: none !important;
}
.pagination .page-item.active .page-link {
    color: #fff;
    background-color: var(--gold);
    border-color: var(--gold);
    box-shadow: none !important;
}
.pagination .page-item.disabled .page-link {
    color: #b9b9b9;
    background-color: #f7f7f7;
    border-color: #e5e5e5;
    box-shadow: none !important;
}
