/* Filter */
aside{
    font-family: 'Raleway', sans-serif;    
}
.desktop-filters{
    color: var(--color-scheme-1-text);
    background-color: var(--product-card-bg);
    border: 1px solid var(--product-card-border-color);
}
.filters-heading {
    font-weight:700;
    font-size:1rem;
}
.btn-show{
    background: linear-gradient(135deg, var(--dodger) 0%, var(--mountain) 100%);
    border: 1px solid var(--dodger);
    border-radius: 0.5rem;
    color: var(--color-white);
}


/* Cards */
.product-card {
    position: relative;
    border: 1px solid var(--product-card-border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--product-card-bg);
    transition: transform .15s ease, box-shadow .15s ease;
    color: var(--color-scheme-1-text);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(12,8,1,0.06);
}
.product-img-container {
    position: relative;
    width: 100%;
    display: inline-block;
}
.watermark {
    position: absolute;
    top: 15%;
    left: 30%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-size: 1rem;
    color: rgba(200, 0, 0, 0.5);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 3px solid rgba(200, 0, 0, 0.5);
    padding: 0.5em 1em;
    border-radius: 5px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 10;
}
.product-img {
    width:100%;
    height:200px;
    object-fit: contain;
    display: block;
    background:var(--product-card-img-bg);
}
.img-blur {
    filter: blur(12px);
    transform: scale(1.05);
    transition: filter 0.4s ease, transform 0.4s ease;
}
.img-blur.loaded {
    filter: blur(0);
    transform: scale(1);
}
.product-name {
    font-family: "Nunito", sans-serif;
    font-weight:600;
    font-size:1.05rem;
}
.tag-pill {
    display:inline-block;
    padding:.35rem .6rem;
    border-radius:6px;
    background:var(--tag-pill-bg);
    border:1px solid var(--neutral-15);
    font-weight:600;
    font-size:.9rem;
    color: var(--color-scheme-1-text);
}


/* Product grid */
.products-section{
    font-family: 'Raleway', sans-serif;
    color: var(--color-scheme-1-text);
}
#resultsCount {
    color: var(--color-scheme-1-text-muted);
}
#sortSelect{
    color: var(--color-scheme-1-text);
    background-color: var(--product-card-bg);
    border: 1px solid var(--product-card-border-color);
}
.retractable:hover, .form-check-input:hover, .form-check-label:hover, .form-select:hover {
    cursor: pointer;
}
.icon::before {
    display: inline-block;
    transition: transform 0.25s ease;
}
button:not(.collapsed) .icon::before {
    transform: rotate(180deg) translate(0%, 10%);
}
#productsGrid a {
    text-decoration: none;
}
.pagination {
    justify-content:center;
}
.page-link{
    color: var(--color-scheme-1-text) !important;
    background-color: var(--product-card-bg) !important;
    border: 1px solid var(--product-card-border-color) !important;
}
.disabled .page-link{
    background-color: var(--product-card-border-color) !important;
}
.active .page-link{
    background: linear-gradient(135deg, var(--dodger) 0%, var(--mountain) 100%) !important;
    border: 1px solid var(--dodger);
    color: var(--color-white) !important;
}


/* Extra small devices (phones, portrait) */
@media (max-width: 575.98px) {
    .product-img { height: 170px; }
}

/* Small devices (phones, landscape) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .product-img { height: 170px; }
}

/* Only for medium screens */
@media (min-width: 768px) and (max-width: 991.98px) {
    .product-img { height: 170px; }
}

/* Large devices (desktops) */
@media (min-width: 992px) {
    /* CSS for desktops */
}