/* co-3a99fd1d CSS */

.co-3a99fd1d-wrapper {
    font-family: inherit;
    color: #333;
}

.co-3a99fd1d-filters {
    margin-bottom: 30px;
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
}

.co-3a99fd1d-filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
}

.co-3a99fd1d-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.co-3a99fd1d-filter-item {
    display: flex;
    align-items: center;
}

.co-3a99fd1d-checkbox {
    display: none;
}

.co-3a99fd1d-checkbox + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
}

.co-3a99fd1d-checkbox + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.co-3a99fd1d-checkbox:checked + label::before {
    background-color: #0068ad;
    border-color: #0068ad;
}

.co-3a99fd1d-checkbox:checked + label::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

/* Category Sections */
.co-3a99fd1d-category-section {
    margin-bottom: 40px;
}

.co-3a99fd1d-category-section.hidden {
    display: none;
}

.co-3a99fd1d-subcategory-group {
    margin-bottom: 30px;
}

.co-3a99fd1d-subcategory-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    color: #111;
}

.co-3a99fd1d-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .co-3a99fd1d-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .co-3a99fd1d-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .co-3a99fd1d-grid {
        grid-template-columns: 1fr;
    }
}

.co-3a99fd1d-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    position: relative; 
    transition: box-shadow 0.3s ease;
}

.co-3a99fd1d-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    z-index: 20; /* Bring hovered card to front */
}

.co-3a99fd1d-color-block {
    height: 120px;
    width: 100%;
    position: relative;
    /* Add inner border for white/very light colors */
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.co-3a99fd1d-info {
    position: absolute;
    top: 50%;
    left: -1px;
    width: calc(100% + 2px);
    background: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e1e1e1;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10; 
}

/* Hover effect to show info */
.co-3a99fd1d-card:hover .co-3a99fd1d-info {
    opacity: 1;
    visibility: visible;
}

.co-3a99fd1d-color-name {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.co-3a99fd1d-product-no {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.co-3a99fd1d-separator {
    border: 0;
    border-top: 1px solid #eee;
    margin: 12px 0;
}

.co-3a99fd1d-mat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.co-3a99fd1d-mat-tags {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.co-3a99fd1d-mat-tag {
    font-size: 13px;
    color: #333;
}

.co-3a99fd1d-no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 4px;
    color: #666;
    grid-column: 1 / -1;
}