.product-attributes-form {
    max-width: 1024px;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.form-header {
    margin-bottom: 24px;
}

.form-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin: 0 0 8px 0;
}

.form-header p {
    color: #6b7280;
    margin: 0;
}

.attribute-section {
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
}

.attribute-header {
    width: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s;
    background: transparent;
    padding: 7px 10px;
}

.attribute-header:hover {
    background: #f9fafb;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.required {
    color: #dc2626;
    margin-left: 4px;
}

.selected-value {
    padding: 4px 12px;
    background: #000;
    color: #ffffff;
    font-size: 14px;
    border-radius: 20px;
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.please-select {
    font-size: 14px;
    color: #6b7280;
}

.chevron {
    color: #6b7280;
    transition: transform 0.2s;
}

.chevron.rotated {
    transform: rotate(180deg);
}

.attribute-content {
    max-height: 0;
    overflow: hidden;
    transition: 300ms;
}

.attribute-content.open {
    max-height: 300px;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.value-bubble {
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #000;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 5px;
}

.value-bubble:hover {
    border-color: rgba(17, 24, 39, 0.5);
    background: #f3f4f6;
}

.value-bubble.selected {
    background: #000;
    color: #ffffff;
    border-color: #000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.error-message {
    font-size: 14px;
    color: #dc2626;
    margin: 12px 0 0 0;
}

.selected-summary {
    margin-top: 15px;
    padding: 14px;
    background: rgb(255 255 255);
    border-radius: 15px;
    border: 1px solid #e5e7eb;
}

.selected-summary h3 {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0 0 12px 0;
}

.summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 5px;
}

.summary-item:last-child {
    border-bottom: unset;
    padding-bottom: 0;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-label {
    font-weight: 500;
    color: #000;
}

.summary-value {
    color: #6b7280;
}

@media (max-width: 768px) {
    .product-attributes-form {
        padding: 16px;
    }

    .attribute-header {
        padding: 12px;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .values-container {
        gap: 6px;
    }

    .value-bubble {
        padding: 6px 12px;
        font-size: 13px;
    }
}

.attribute-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
}
