/* Category Details / View All page only */
.category-details-page{padding:24px 0 55px;background:#fff;color:var(--navy,#001f3f)}
.category-breadcrumb{display:flex;align-items:center;gap:9px;font-size:13px;margin-bottom:18px;color:#718096}.category-breadcrumb a{color:var(--navy,#001f3f);text-decoration:none}
.category-breadcrumb strong{color:#334155}
.category-page-head{padding:20px 22px;background:#f7f9fb;border:1px solid #e6ebf0;border-radius:10px;margin-bottom:22px}.category-page-head small{font-size:11px;font-weight:900;letter-spacing:1.3px;color:var(--orange,#ff6b00)}.category-page-head h1{font-size:28px;line-height:1.15;margin:5px 0 4px;color:var(--navy,#001f3f)}.category-page-head p{margin:0;color:#718096;font-size:13px}
.category-shop-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start}
.category-filter-sidebar{border:1px solid #e3e9ef;border-radius:9px;background:#fff;padding:18px;position:sticky;top:92px}.filter-mobile-head{display:none}.filter-widget{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #edf1f4}.filter-widget h3{font-size:14px;margin:0 0 12px;color:var(--navy,#001f3f)}.filter-widget input[type=search],.filter-widget input[type=number]{width:100%;height:40px;border:1px solid #dce3e9;border-radius:6px;padding:0 10px;outline:0;background:#fff}.filter-widget input:focus{border-color:var(--orange,#ff6b00)}
.category-filter-list{display:flex;flex-direction:column;gap:3px}.category-filter-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border-radius:6px;color:#334155;text-decoration:none;font-size:13px}.category-filter-list a:hover,.category-filter-list a.active{background:#fff3ea;color:var(--orange,#ff6b00);font-weight:800}.category-filter-list b{font-size:10px;min-width:24px;text-align:center;padding:2px 6px;border-radius:20px;background:#eef2f6;color:#64748b}.category-filter-list a.active b{background:var(--orange,#ff6b00);color:#fff}
.price-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.price-filter-row label{font-size:11px;font-weight:800;color:#64748b}.price-filter-row input{margin-top:5px}.filter-apply-btn,.filter-clear-btn{width:100%;min-height:40px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;text-decoration:none}.filter-apply-btn{border:1px solid var(--orange,#ff6b00);background:var(--orange,#ff6b00);color:#fff;cursor:pointer}.filter-apply-btn:hover{background:var(--navy,#001f3f);border-color:var(--navy,#001f3f)}.filter-clear-btn{margin-top:8px;border:1px solid #dce3e9;color:#64748b;background:#fff}
.category-toolbox{min-height:54px;border:1px solid #e3e9ef;border-radius:8px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff}.category-result-count{font-size:12px;color:#64748b}.category-sort-form{display:flex;align-items:center;gap:8px}.category-sort-form label{font-size:12px;font-weight:800;color:#475569}.category-sort-form select{height:36px;border:1px solid #dce3e9;border-radius:6px;background:#fff;padding:0 28px 0 10px;color:#334155}.mobile-filter-btn{display:none}
.category-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}.category-product-grid>.card{min-width:0;width:100%}
.category-pagination{margin-top:28px}.category-pagination nav>div:first-child{display:none}.category-pagination nav>div:last-child{display:flex;align-items:center;justify-content:space-between;gap:15px}.category-pagination nav p{font-size:12px;color:#64748b}.category-pagination nav span.relative{display:inline-flex}.category-pagination nav a,.category-pagination nav span[aria-current="page"] span,.category-pagination nav span[aria-disabled="true"] span{min-width:36px;height:36px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e1e7ec;background:#fff;color:#334155;text-decoration:none}.category-pagination nav span[aria-current="page"] span{background:var(--orange,#ff6b00);border-color:var(--orange,#ff6b00);color:#fff}
.category-no-products{text-align:center;padding:70px 20px;border:1px dashed #dbe3e9;border-radius:10px;margin-top:20px}.category-no-products>div{font-size:42px}.category-no-products h2{margin:10px 0 5px}.category-no-products p{color:#718096}.category-no-products a{display:inline-flex;margin-top:10px;padding:10px 18px;border-radius:6px;background:var(--orange,#ff6b00);color:#fff;text-decoration:none;font-weight:800;font-size:12px}.category-filter-overlay{display:none}
@media(max-width:1100px){.category-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.category-details-page{padding-top:14px}.category-page-head{padding:16px}.category-page-head h1{font-size:22px}.category-shop-layout{display:block}.category-filter-sidebar{position:fixed;left:-290px;top:0;bottom:0;width:280px;z-index:10002;border-radius:0;overflow-y:auto;transition:left .25s ease;padding:16px}.category-details-page.filter-open .category-filter-sidebar{left:0}.filter-mobile-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #e8edf1}.filter-close{width:34px;height:34px;border:0;background:#f1f4f6;border-radius:50%;font-size:23px;cursor:pointer}.category-filter-overlay{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:10001}.category-details-page.filter-open .category-filter-overlay{display:block}.category-toolbox{flex-wrap:wrap}.mobile-filter-btn{display:inline-flex;align-items:center;justify-content:center;height:36px;border:1px solid var(--navy,#001f3f);border-radius:6px;background:#fff;color:var(--navy,#001f3f);font-weight:900}.category-result-count{order:3;width:100%}.category-sort-form{margin-left:auto}.category-sort-form label{display:none}.category-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.category-pagination nav>div:last-child{display:block}.category-pagination nav p{margin-bottom:10px}}
@media(max-width:390px){.category-sort-form select{max-width:150px}.category-product-grid{gap:7px}}



/* =========================================================
   CATEGORY DETAILS PAGE — PAGE-SPECIFIC BUTTONS
   Product-card buttons come from style.css
========================================================= */

/* ---------- APPLY FILTER ---------- */
.category-details-page .filter-apply-btn{
    width:100%;
    height:42px;
    min-height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 15px;

    border:1px solid var(--orange,#ff6b00) !important;
    border-radius:6px;

    background:var(--orange,#ff6b00) !important;
    color:#fff !important;

    font-size:12px;
    font-weight:800;
    cursor:pointer;

    transition:.2s ease;
}

.category-details-page .filter-apply-btn:hover{
    background:var(--navy,#001f3f) !important;
    border-color:var(--navy,#001f3f) !important;
    color:#fff !important;
}


/* ---------- CLEAR FILTER ---------- */
.category-details-page .filter-clear-btn{
    width:100%;
    height:40px;
    min-height:40px;

    margin-top:8px;
    padding:0 15px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid var(--navy,#001f3f) !important;
    border-radius:6px;

    background:#fff !important;
    color:var(--navy,#001f3f) !important;

    font-size:12px;
    font-weight:800;
    text-decoration:none;

    transition:.2s ease;
}

.category-details-page .filter-clear-btn:hover{
    background:var(--navy,#001f3f) !important;
    border-color:var(--navy,#001f3f) !important;
    color:#fff !important;
}


/* ---------- MOBILE FILTER BUTTON ---------- */
.category-details-page .mobile-filter-btn{
    height:38px;
    min-height:38px;

    padding:0 14px;

    align-items:center;
    justify-content:center;
    gap:6px;

    border:1px solid var(--orange,#ff6b00) !important;
    border-radius:6px;

    background:var(--orange,#ff6b00) !important;
    color:#fff !important;

    font-size:12px;
    font-weight:800;
    cursor:pointer;

    transition:.2s ease;
}

.category-details-page .mobile-filter-btn:hover{
    background:var(--navy,#001f3f) !important;
    border-color:var(--navy,#001f3f) !important;
    color:#fff !important;
}


/* ---------- FILTER CLOSE BUTTON ---------- */
.category-details-page .filter-close{
    width:34px;
    height:34px;
    min-width:34px;

    padding:0;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid #e2e8f0;
    border-radius:50%;

    background:#f8fafc;
    color:var(--navy,#001f3f);

    font-size:22px;
    line-height:1;
    cursor:pointer;

    transition:.2s ease;
}

.category-details-page .filter-close:hover{
    background:var(--orange,#ff6b00);
    border-color:var(--orange,#ff6b00);
    color:#fff;
}


/* ---------- SORT SELECT ---------- */
.category-details-page .category-sort-form select{
    height:38px;

    padding:0 34px 0 12px;

    border:1px solid #dce3e9;
    border-radius:6px;

    background:#fff;
    color:var(--navy,#001f3f);

    font-size:12px;
    font-weight:700;

    outline:none;
    cursor:pointer;
}

.category-details-page .category-sort-form select:hover,
.category-details-page .category-sort-form select:focus{
    border-color:var(--orange,#ff6b00);
}


/* ---------- NO PRODUCT BUTTON ---------- */
.category-details-page .category-no-products a{
    min-height:40px;
    padding:0 18px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    border:1px solid var(--orange,#ff6b00);
    border-radius:6px;

    background:var(--orange,#ff6b00);
    color:#fff;

    font-size:12px;
    font-weight:800;
    text-decoration:none;

    transition:.2s ease;
}

.category-details-page .category-no-products a:hover{
    background:var(--navy,#001f3f);
    border-color:var(--navy,#001f3f);
    color:#fff;
}


/* =========================================================
   CATEGORY DETAILS — CARD HOVER MATCH
   Card fixed থাকবে, শুধু image zoom হবে
========================================================= */

.category-details-page .category-product-grid .card{
    transform:none !important;
}

.category-details-page .category-product-grid .card:hover{
    transform:none !important;
    box-shadow:0 3px 12px rgba(0,31,63,.03) !important;
    border-color:var(--line,#e3e9ef) !important;
}

.category-details-page .category-product-grid .card .pic{
    overflow:hidden;
}

.category-details-page .category-product-grid .card .pic img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1);
    transition:transform .35s ease !important;
}

.category-details-page .category-product-grid .card:hover .pic img{
    transform:scale(1.06) !important;
}
