.container {
    width: 80%;
    margin: 21px auto;
}

.filter-container {
    display: block;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filters {
    display: flex;
    gap: 5%;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: end;
    justify-content: space-between;
}

.filter-group {
    display: flex;
    min-width: 200px;
    flex-direction: column;
    flex: 0 0 auto;
}

.filter-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 0.9rem;
}

.filter-input,
.filter-select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    background-color: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.filter-button,
.clear-button {
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    min-width: 120px;
    height: 42px;
    box-sizing: border-box;
}

.filter-button {
    background-color: var(--primary-color);
    color: white;
}

.filter-button:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-1px);
}

.button-group {
    display: flex;
    gap: 5%;
    align-items: center;
    flex: 0 0 auto;
    min-width: 250px;
}

.clear-button {
    background-color: var(--neutral-color);
    color: white;
}

.clear-button:hover {
    background-color: #545b62;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.products-info {
    margin-bottom: 15px;
}

.product-count {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.products-container {
    --entry-size: 300px;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.product-card-link:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.products-container .product-card {
    height: var(--entry-size);
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.products-container .product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-card-link:hover .product-card {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.products-container .product-card .product-image {
    --card-image-size: 50%;
    width: var(--card-image-size);
    height: var(--card-image-size);
    padding: 0;
    object-fit: contain;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.products-container .product-card h3 {
    font-size: 1rem;
    margin: 0;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.products-container .product-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.products-container .product-card .price {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.products-container .product-card .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.products-container .product-card:hover .hover-overlay {
    opacity: 1;
    pointer-events: auto;
}

.products-container .product-card .description {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5em;
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
}

.products-container .product-card .specifications {
    font-size: 0.85rem;
    color: #555;
    text-align: left;
    width: 100%;
}

.products-container .product-card .specifications p {
    font-size: 0.85rem;
    margin: 5px 0;
    padding-left: 10px;
    position: relative;
}

.products-container .product-card .specifications p:before {
    content: "•";
    position: absolute;
    left: 0;
}

body>main>div>div.product-container>div.purchase-pane>div>div.product-stock>span {
    font-size: 16px;
    font-weight: 500;
}
