/*==================================================
                PRODUCTS PAGE
==================================================*/

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;
    --secondary:#0f172a;
    --success:#16a34a;
    --danger:#dc2626;
    --warning:#f59e0b;

    --white:#ffffff;
    --gray:#64748b;
    --light:#f8fafc;

    --border:#e2e8f0;

    --shadow:0 15px 35px rgba(15,23,42,.08);

    --radius:18px;

    --transition:.30s ease;

}

/*==================================================
                PAGE BANNER
==================================================*/

.page-banner{

    padding:120px 0 70px;

    background:

    linear-gradient(135deg,#2563eb 0%,#4f46e5 100%);

    color:#fff;

    text-align:center;

    position:relative;

    overflow:hidden;

}

.page-banner::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    left:-180px;

    top:-180px;

}

.page-banner::after{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    background:rgba(255,255,255,.06);

    right:-120px;

    bottom:-150px;

    border-radius:50%;

}

.page-banner .container{

    position:relative;

    z-index:2;

}

.page-banner h1{

    font-size:52px;

    font-weight:800;

    margin-bottom:18px;

}

.page-banner p{

    font-size:18px;

    max-width:700px;

    margin:auto;

    opacity:.95;

    line-height:1.8;

}

/*==================================================
                PRODUCTS SECTION
==================================================*/

.products-page{

    padding:70px 0;

    background:#f6f9fc;

    min-height:100vh;

}

/*==================================================
                FILTER CARD
==================================================*/

.products-filter{

    background:#fff;

    padding:28px;

    border-radius:20px;

    box-shadow:var(--shadow);

    margin-bottom:35px;

}

.filter-form{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

    align-items:center;

}

.filter-group{

    flex:1;

    min-width:250px;

}

.filter-group input,

.filter-group select{

    width:100%;

    height:56px;

    border:1px solid var(--border);

    border-radius:14px;

    padding:0 18px;

    font-size:15px;

    outline:none;

    transition:var(--transition);

    background:#fff;

}

.filter-group input:focus,

.filter-group select:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}

.filter-form button,

.filter-form a{

    height:56px;

    padding:0 28px;

    border-radius:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    text-decoration:none;

    font-weight:600;

    transition:var(--transition);

}

.btn-primary{

    background:var(--primary);

    color:#fff;

    border:none;

}

.btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.btn-secondary{

    background:#eef2ff;

    color:var(--primary);

}

.btn-secondary:hover{

    background:#dbeafe;

}

/*==================================================
                RESULT INFO
==================================================*/

.products-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

}

.results h3{

    font-size:30px;

    font-weight:700;

    color:#111827;

}

.results p{

    margin-top:8px;

    color:#64748b;

}
/*==================================================
                PRODUCTS GRID
==================================================*/

.products-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:32px;

}

/*==================================================
                PRODUCT CARD
==================================================*/

.product-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 10px 35px rgba(15,23,42,.08);

    transition:.35s ease;

    position:relative;

    display:flex;

    flex-direction:column;

}

.product-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(37,99,235,.18);

}

/*==================================================
                PRODUCT IMAGE
==================================================*/

.product-image{

    position:relative;

    height:250px;

    overflow:hidden;

    background:#f8fafc;

}

.product-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.45s ease;

}

.product-card:hover .product-image img{

    transform:scale(1.08);

}

/*==================================================
                CATEGORY BADGE
==================================================*/

.product-badge{

    position:absolute;

    top:18px;

    left:18px;

    background:linear-gradient(135deg,#2563eb,#4f46e5);

    color:#fff;

    padding:8px 18px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;

    box-shadow:0 8px 20px rgba(37,99,235,.30);

}

/*==================================================
                PRODUCT CONTENT
==================================================*/

.product-content{

    padding:28px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.product-content h3{

    font-size:24px;

    font-weight:700;

    color:#0f172a;

    margin-bottom:14px;

    line-height:1.4;

}

.product-content p{

    color:#64748b;

    font-size:15px;

    line-height:1.8;

    margin-bottom:24px;

    flex:1;

}

/*==================================================
                PRODUCT PRICE
==================================================*/

.product-price{

    font-size:30px;

    font-weight:800;

    color:#2563eb;

    margin-bottom:25px;

}

.product-price small{

    font-size:15px;

    color:#64748b;

    margin-left:5px;

}

/*==================================================
                PRODUCT ACTIONS
==================================================*/

.product-actions{

    display:flex;

    gap:12px;

    margin-top:auto;

}

.product-actions a{

    flex:1;

    height:50px;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    text-decoration:none;

    font-weight:600;

    transition:.30s;

}

.product-actions .btn-primary{

    background:#2563eb;

    color:#fff;

}

.product-actions .btn-primary:hover{

    background:#1d4ed8;

}

.product-actions .btn-success{

    background:#16a34a;

    color:#fff;

}

.product-actions .btn-success:hover{

    background:#15803d;

}

.product-actions .btn-secondary{

    background:#f1f5f9;

    color:#334155;

}

.product-actions .btn-secondary:hover{

    background:#e2e8f0;

}

/*==================================================
                EMPTY PRODUCTS
==================================================*/

.empty-products{

    grid-column:1/-1;

    background:#fff;

    border-radius:22px;

    padding:80px 40px;

    text-align:center;

    box-shadow:0 10px 35px rgba(15,23,42,.08);

}

.empty-products i{

    font-size:70px;

    color:#2563eb;

    margin-bottom:25px;

}

.empty-products h2{

    font-size:34px;

    color:#0f172a;

    margin-bottom:15px;

}

.empty-products p{

    font-size:17px;

    color:#64748b;

    margin-bottom:30px;

}

.empty-products .btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 32px;

    border-radius:12px;

    text-decoration:none;

}

/*==================================================
                PAGINATION
==================================================*/

.pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:12px;

    margin-top:60px;

}

.page-btn{

    min-width:48px;

    height:48px;

    padding:0 18px;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#fff;

    color:#0f172a;

    text-decoration:none;

    font-weight:600;

    box-shadow:0 5px 20px rgba(15,23,42,.08);

    transition:.30s;

}

.page-btn:hover{

    background:#2563eb;

    color:#fff;

    transform:translateY(-2px);

}

.page-btn.active{

    background:#2563eb;

    color:#fff;

}

/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:992px){

.products-grid{

grid-template-columns:repeat(2,1fr);

}

.page-banner h1{

font-size:42px;

}

}

@media(max-width:768px){

.page-banner{

padding:90px 0 60px;

}

.page-banner h1{

font-size:34px;

}

.page-banner p{

font-size:16px;

}

.filter-form{

flex-direction:column;

}

.filter-group{

width:100%;

}

.filter-form button,

.filter-form a{

width:100%;

}

.products-grid{

grid-template-columns:1fr;

}

.product-image{

height:220px;

}

.product-content{

padding:22px;

}

.product-content h3{

font-size:21px;

}

.product-price{

font-size:26px;

}

.product-actions{

flex-direction:column;

}

.product-actions a{

width:100%;

}

.results{

text-align:center;

width:100%;

}

.products-top{

justify-content:center;

}

}

@media(max-width:480px){

.page-banner h1{

font-size:28px;

}

.page-banner p{

font-size:15px;

}

.empty-products{

padding:60px 20px;

}

.empty-products h2{

font-size:26px;

}

.empty-products p{

font-size:15px;

}

.pagination{

gap:8px;

}

.page-btn{

min-width:42px;

height:42px;

padding:0 12px;

}

}
.product-actions a{
    position:relative;
    overflow:hidden;
}

.ripple{
    position:absolute;
    width:12px;
    height:12px;
    background:rgba(255,255,255,.45);
    border-radius:50%;
    transform:translate(-50%,-50%);
    animation:ripple .6s linear;
    pointer-events:none;
}

@keyframes ripple{

    from{

        width:0;
        height:0;
        opacity:.8;

    }

    to{

        width:260px;
        height:260px;
        opacity:0;

    }

}