
.rabee-products-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
    width:100%;
}

.rabee-products-grid.rabee-cols-1{grid-template-columns:1fr;}
.rabee-products-grid.rabee-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.rabee-products-grid.rabee-cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.rabee-products-grid.rabee-cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}

.rabee-product-card{
    background:#fff;
    border-radius:4px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 12px 40px rgba(13,31,61,.08);
    transition:transform .25s ease, box-shadow .25s ease;
    border:1px solid rgba(13,31,61,.04);
}

.rabee-product-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 48px rgba(13,31,61,.13);
}

.rabee-product-image-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:300px;
    padding:28px 24px 16px;
    background:#fff;
    text-decoration:none;
}

.rabee-product-image{
    width:100%;
    height:260px;
    object-fit:contain;
    display:block;
    transition:transform .3s ease;
}

.rabee-product-card:hover .rabee-product-image{
    transform:scale(1.035);
}

.rabee-product-placeholder{
    width:100%;
    min-height:250px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f7f7f7;
    color:#888;
}

.rabee-product-body{
    padding:4px 32px 34px;
}

.rabee-product-title{
    margin:10px 0 10px;
    font-size:25px;
    line-height:1.25;
    font-weight:700;
}

.rabee-product-title a{
    color:#111827;
    text-decoration:none;
}

.rabee-product-title a:hover{
    color:#000;
}

.rabee-product-divider{
    width:78%;
    height:7px;
    margin:18px auto 26px;
    border-radius:99px;
    background:linear-gradient(90deg,#f6d27a,#d5a62b,#f6d27a);
}

.rabee-product-description{
    color:#777;
    font-size:16px;
    line-height:1.75;
    min-height:84px;
    margin-bottom:24px;
}

.rabee-product-description p{
    margin:0;
}

.rabee-read-more{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:150px;
    padding:13px 26px;
    border:1px solid #e4e4e4;
    border-radius:999px;
    color:#111827;
    background:#fff;
    font-weight:600;
    text-decoration:none;
    transition:all .25s ease;
}

.rabee-read-more:hover{
    background:#000;
    border-color:#000;
    color:#fff;
}

@media (max-width: 1024px){
    .rabee-products-grid.rabee-cols-3,
    .rabee-products-grid.rabee-cols-4{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 767px){
    .rabee-products-grid,
    .rabee-products-grid.rabee-cols-2,
    .rabee-products-grid.rabee-cols-3,
    .rabee-products-grid.rabee-cols-4{
        grid-template-columns:1fr;
        gap:22px;
    }

    .rabee-product-image-wrap{
        min-height:240px;
    }

    .rabee-product-image{
        height:220px;
    }

    .rabee-product-body{
        padding:4px 24px 30px;
    }

    .rabee-product-title{
        font-size:22px;
    }

    .rabee-product-description{
        min-height:auto;
    }
}


/* Catalogue button on single product pages */
.rabee-catalogue-wrap{
    margin:20px 0 0;
}

.rabee-catalogue-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:170px;
    padding:14px 28px;
    border-radius:999px;
    background:#000;
    color:#fff !important;
    font-weight:600;
    text-decoration:none !important;
    transition:all .25s ease;
}

.rabee-catalogue-button:hover{
    background:#d5a62b;
    color:#fff !important;
    transform:translateY(-2px);
}


/* Product NEW badge */
.rabee-product-card{
    position:relative;
}

.rabee-new-badge{
    position:absolute;
    top:18px;
    left:18px;
    z-index:5;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:58px;
    height:34px;
    padding:0 14px;
    border-radius:999px;
    background:#e53935;
    color:#fff;
    font-size:13px;
    line-height:1;
    font-weight:800;
    letter-spacing:.8px;
    text-transform:uppercase;
    box-shadow:0 5px 14px rgba(0,0,0,.12);
}

/* Product category above title */
.rabee-product-category{
    margin:6px 0 8px;
    color:#d5a62b;
    font-size:13px;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
}


/* Product category thumbnail grid */
.rabee-category-grid{
    display:grid;
    gap:26px;
    width:100%;
}

.rabee-category-cols-1{grid-template-columns:1fr;}
.rabee-category-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.rabee-category-cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.rabee-category-cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}
.rabee-category-cols-5{grid-template-columns:repeat(5,minmax(0,1fr));}
.rabee-category-cols-6{grid-template-columns:repeat(6,minmax(0,1fr));}

.rabee-category-card{
    display:block;
    overflow:hidden;
    background:#fff;
    border:1px solid #ececec;
    border-radius:12px;
    text-align:center;
    text-decoration:none !important;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:transform .25s ease, box-shadow .25s ease;
}

.rabee-category-card:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 38px rgba(0,0,0,.10);
}

.rabee-category-thumb{
    height:220px;
    padding:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fafafa;
    overflow:hidden;
}

.rabee-category-thumb img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    transition:transform .3s ease;
}

.rabee-category-card:hover .rabee-category-thumb img{
    transform:scale(1.04);
}

.rabee-category-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#999;
    background:#f3f3f3;
}

.rabee-category-card-body{
    padding:18px 18px 22px;
}

.rabee-category-card-body h3{
    margin:0 0 8px;
    color:#111827;
    font-size:20px;
    line-height:1.3;
}

.rabee-category-card-body p{
    margin:0 0 12px;
    color:#777;
    font-size:14px;
    line-height:1.6;
}

.rabee-category-view{
    display:inline-block;
    color:#d5a62b;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
}

@media (max-width:1024px){
    .rabee-category-cols-4,
    .rabee-category-cols-5,
    .rabee-category-cols-6{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:767px){
    .rabee-category-grid,
    .rabee-category-cols-2,
    .rabee-category-cols-3,
    .rabee-category-cols-4,
    .rabee-category-cols-5,
    .rabee-category-cols-6{
        grid-template-columns:1fr;
    }

    .rabee-category-thumb{
        height:240px;
    }
}


/* Full-width custom Product Category archive — no theme sidebar */
.rabee-category-archive{
    width:100%;
    max-width:none;
    box-sizing:border-box;
    padding:220px 24px 80px;
    margin:0;
    background:#fff;
    clear:both;
}

.rabee-category-archive-inner{
    width:min(1320px, 100%);
    margin:0 auto;
}

.rabee-category-archive-header{
    text-align:center;
    margin:0 auto 40px;
    max-width:800px;
}

.rabee-category-archive-header h1{
    margin:0 0 12px;
    font-size:42px;
    line-height:1.2;
    color:#111827;
}

.rabee-category-archive-description{
    color:#777;
    line-height:1.7;
}

.rabee-category-products-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:28px !important;
    width:100% !important;
}

.rabee-category-products-grid .rabee-product-card{
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    float:none !important;
}

.rabee-category-products-grid .rabee-product-image-wrap{
    min-height:280px;
}

.rabee-category-products-grid .rabee-product-image{
    width:100%;
    height:250px;
    object-fit:contain;
}

.rabee-category-pagination{
    margin-top:45px;
    text-align:center;
}

.rabee-category-pagination .nav-links{
    display:flex;
    gap:8px;
    justify-content:center;
    align-items:center;
}

.rabee-category-pagination .page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:40px;
    height:40px;
    padding:0 12px;
    border:1px solid #e6e6e6;
    border-radius:6px;
    text-decoration:none;
}

.rabee-category-pagination .current{
    background:#111827;
    color:#fff;
    border-color:#111827;
}

@media (max-width:1024px){
    .rabee-category-archive{
        padding-top:180px;
    }

    .rabee-category-products-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width:767px){
    .rabee-category-archive{
        padding:140px 15px 60px;
    }

    .rabee-category-archive-header h1{
        font-size:32px;
    }

    .rabee-category-products-grid{
        grid-template-columns:1fr !important;
    }
}


/* v1.4.4 - Larger category thumbnails */
.rabee-category-card .rabee-category-image-wrap{
    min-height:260px !important;
    padding:12px !important;
    display:flex;
    align-items:center;
    justify-content:center;
}

.rabee-category-card .rabee-category-image{
    width:230px !important;
    height:230px !important;
    max-width:92% !important;
    object-fit:contain !important;
}

@media (max-width:767px){
    .rabee-category-card .rabee-category-image-wrap{
        min-height:220px !important;
    }
    .rabee-category-card .rabee-category-image{
        width:200px !important;
        height:200px !important;
    }
}


/* v1.4.5 - Extra large category thumbnails */
.rabee-category-card .rabee-category-image-wrap{
    min-height:380px !important;
    padding:10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden;
}

.rabee-category-card .rabee-category-image{
    width:350px !important;
    height:350px !important;
    max-width:96% !important;
    max-height:350px !important;
    object-fit:contain !important;
}

@media (max-width:1024px){
    .rabee-category-card .rabee-category-image-wrap{
        min-height:300px !important;
    }
    .rabee-category-card .rabee-category-image{
        width:280px !important;
        height:280px !important;
        max-height:280px !important;
    }
}

@media (max-width:767px){
    .rabee-category-card .rabee-category-image-wrap{
        min-height:270px !important;
    }
    .rabee-category-card .rabee-category-image{
        width:250px !important;
        height:250px !important;
        max-height:250px !important;
    }
}


/* v1.4.6.1 - Optional NEW badge for category cards */
.rabee-category-card{
    position:relative;
}
.rabee-category-new-badge{
    position:absolute;
    top:14px;
    left:14px;
    z-index:10;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:54px;
    height:32px;
    padding:0 12px;
    border-radius:999px;
    background:#e53935;
    color:#fff;
    font-size:12px;
    line-height:1;
    font-weight:800;
    letter-spacing:.5px;
    text-transform:uppercase;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}
