.wccp-color-palette {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.wccp-color-palette h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.wccp-palette-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.wccp-color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.wccp-color-swatch:hover {
    transform: scale(1.1);
}

/* Adjustments for product cards in Loop Grid */
.elementor-loop-container .wccp-color-palette {
    margin: 10px 0;
}

.elementor-loop-container .wccp-color-swatch {
    width: 20px;
    height: 20px;
}

.wccp-debug {
    color: #ff0000;
    font-size: 0.9em;
}