.color-palettes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin: 0;
}

.color-palette {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 0;
    border: none;
    position: relative;
}

.color-palette:last-child {
    margin-bottom: 0;
}

.color-palette:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.color-palette-title {
    color: #272727cc;
    width: 100%;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    text-decoration: none;
    text-align: left;
}

.color-palette .text {
    margin-bottom: 12px;
    text-align: left;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch::after {
    content: attr(data-color);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: none;
    display: none;
    z-index: 10;
}

.color-swatch.active::after {
    display: block;
    opacity: 1;
}

.color-swatch:hover::after {
    display: none;
}

.dress-code-text {
    color: #272727cc;
    width: 100%;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    text-decoration: none;
    text-align: left;
}

/* Цветовые образцы */
.champagne { background: #F7E8D1; }
.rose-gold { background: #E6B8B7; }
.cream { background: #FFFDD0; }
.beige { background: #F5F5DC; }

.pistachio { background: #93C572; }
.apricot { background: #FBCEB1; }
.olive { background: #808000; }

.chocolate { background: #7B3F00; }
.bordeaux { background: #5C0120; }
.emerald { background: #046A38; }
.black { background: #000000; } 