:root {
    --primary: #4f46e5;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-page: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
}

.products-page-wrap {
    min-height: 100vh;
    background-color: var(--bg-page);
    padding: 120px 0 100px;
    color: var(--text-main);
}

.products-page-wrap > .container {
    max-width: 1400px !important;
}

.product-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.shop-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease;
}

.shop-image-wrap {
    width: 100%;
    height: 380px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-item:hover .shop-image-wrap img {
    transform: scale(1.05);
}

.shop-item:hover .shop-image-wrap {
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.shop-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    display: block;
}

.shop-title:hover {
    color: var(--primary);
}

.shop-price {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
}

.shop-actions {
    margin-top: 15px;
}

.btn-shop {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff !important;
    border-radius: 50px; /* Pill shape */
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
    border: none;
    transition: all 0.3s;
}

.btn-shop:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

/* Pagination Styling - Restoring Previous Theme */
.pagination-wrap {
    margin-top: 100px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination-premium .page-link {
    background: #0b0f1a; /* Previous dark theme color */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 20px;
    margin: 0 5px;
    border-radius: 12px;
    transition: all 0.3s;
    font-weight: 700;
}

.pagination-premium .page-item.active .page-link {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border: none;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.pagination-premium .page-link:hover {
    background: #1e293b;
    border-color: #6366f1;
    color: #fff;
}

@media (max-width: 991px) {
    .product-3-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-image-wrap { height: 320px; }
}

@media (max-width: 576px) {
    .product-3-grid { grid-template-columns: 1fr; }
}
