.breadcrumb a{
    color:#6b7280;
    text-decoration:none;
    transition:.2s;
}

.breadcrumb a:hover{
    color:#111827;
}

.breadcrumb .active{
    color:#111827;
    font-weight:600;
}

.breadcrumb a{
    color:#6b7280;
    text-decoration:none;
    transition:.2s;
}

.breadcrumb a:hover{
    color:#111827;
}

.breadcrumb-item.active{
    color:#111827;
    font-weight:600;
}
.products-page{
    background:#faf8f5;
    padding:50px 0;
}

.filter-card,.product-card{
    border:0;
    border-radius:24px;
    background:#fff;
    box-shadow:0 12px 35px rgba(0,0,0,.06);
}

.filter-title{
    font-weight:700;
    color:#263238;
}

.category-item{
    display:block;
    padding:10px 14px;
    border-radius:14px;
    color:#555;
    text-decoration:none;
    transition:.2s;
}

.category-item:hover{
    background:#f1ede7;
    color:#111;
}

.sort-pill{
    display:inline-block;
    border-radius:50px;
    padding:11px 22px;
    background:#fff;
    border:1px solid #eee;
    margin-right:8px;
    color:#555;
    text-decoration:none;
    font-weight:600;
    transition:.2s;
}

.sort-pill:hover,
.sort-pill.active{
    background:#111827;
    color:white;
    border-color:#111827;
}

.range-value{
    font-weight:700;
}

.price-slider-box{
    background:#fafafa;
    border-radius:20px;
    padding:18px;
}

.range-container{
    position:relative;
    height:45px;
}

.range-container{
    position:relative;
    height:45px;
}

.price-range{
    position:absolute;
    left:0;
    top:15px;
    width:100%;
    pointer-events:none;
    appearance:none;
    background:transparent;
    height:8px;
    margin:0;
}

.price-range::-webkit-slider-thumb{
    pointer-events:auto;
    width:20px;
    height:20px;
    border-radius:50%;
    appearance:none;
    background:#111827;
    border:3px solid #fff;
    box-shadow:0 3px 10px rgba(0,0,0,.25);
    cursor:pointer;
}

.price-range::-moz-range-thumb{
    pointer-events:auto;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#111827;
    border:3px solid #fff;
    cursor:pointer;
}

#minRange{
    z-index:5;
}

#maxRange{
    z-index:5;
}

/*
 Both range controls stay above the track.
 Do not put one thumb under the other because
 it makes one handle disappear when values are close.
*/
#minRange::-webkit-slider-thumb,
#maxRange::-webkit-slider-thumb{
    position:relative;
    z-index:10;
}

#minRange::-moz-range-thumb,
#maxRange::-moz-range-thumb{
    position:relative;
    z-index:10;
}

.price-values{
    font-weight:700;
}

.product-image{
    height:240px;
    width:100%;
    object-fit:cover;
    border-radius:24px 24px 0 0;
}

.price{
    font-size:1.2rem;
    font-weight:700;
}


.product-card-modern{
    transition:all .25s ease;
    overflow:hidden;
}

.product-card-modern:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.product-image{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:20px 20px 0 0;
}

.product-view-btn{
    display:inline-block;
    margin-top:14px;
    padding:9px 22px;
    border-radius:999px;
    background:#111827;
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.2s;
}

.product-view-btn:hover{
    background:#374151;
    color:white;
}
/* Accessibility: preserve the existing visual scale while using semantic h2 headings. */
.filter-title{
    font-size:1.25rem;
    line-height:1.2;
}

.product-card-heading{
    color:#25324a;
    font-size:.92rem;
    line-height:1.4;
    min-height:0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    transition:color .28s ease;
}

.product-card-modern:hover .product-card-heading{
    color:#17233a;
}

/* Accessible price sliders: each control has a 44px touch target and no overlap. */
.range-container{
    display:grid;
    gap:8px;
    height:auto;
}

.price-range-control{
    min-height:44px;
    display:flex;
    align-items:center;
}

.price-range{
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:44px;
    margin:0;
    pointer-events:auto;
    appearance:none;
    -webkit-appearance:none;
    background:transparent;
    cursor:pointer;
    touch-action:pan-y;
}

.price-range::-webkit-slider-runnable-track{
    height:6px;
    border-radius:999px;
    background:#d7dde6;
}

.price-range::-moz-range-track{
    height:6px;
    border-radius:999px;
    background:#d7dde6;
}

.price-range::-webkit-slider-thumb{
    width:24px;
    height:24px;
    margin-top:-9px;
}

.price-range::-moz-range-thumb{
    width:24px;
    height:24px;
}

.availability-checkbox-row{
    min-height:44px;
    display:flex;
    align-items:center;
}

.availability-checkbox{
    width:20px;
    height:20px;
    cursor:pointer;
}

.availability-label{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    cursor:pointer;
}

/* WCAG AA contrast on the white product-card background. */
.products-page .product-sale-price{
    color:#08745f!important;
}

.products-page .product-old-price{
    color:#667085!important;
}

@media (max-width:767.98px){
    .product-card-heading{
        font-size:.82rem;
    }
}
