/* Ürün Kişiselleştirme Stilleri */
.customization-container {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.customization-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.customization-option {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.customization-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.option-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.required-mark {
    color: #e63946;
    margin-left: 3px;
}

/* Select Tipi */
.customization-option select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
}

/* Text Tipi */
.customization-option input[type="text"],
.customization-option textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.customization-option textarea {
    min-height: 80px;
    resize: vertical;
}

/* Renk Seçimi */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-option {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.color-option .color-preview {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.color-option input[type="radio"]:checked + .color-preview {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333;
}

/* Dosya Yükleme */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-btn:hover {
    background-color: #e0e0e0;
}

.file-preview {
    margin-top: 10px;
}

.preview-image {
    position: relative;
    display: inline-block;
    max-width: 150px;
    margin-right: 10px;
}

.preview-image img {
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.remove-file {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: #e63946;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

/* Checkbox Tipi */
.checkbox-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-option {
    display: flex;
    align-items: center;
}

.checkbox-option input[type="checkbox"] {
    margin-right: 8px;
}

/* Fiyat Gösterimi */
.price-summary {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.price-summary h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.price-row.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Varyant Fiyat Yönetimi */
.variant-group {
    margin-bottom: 15px;
}

.variant-group h4 {
    margin-bottom: 10px;
    color: #333;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-option {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.variant-option:hover {
    border-color: #999;
}

.variant-option.selected {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.variant-option .price-adjustment {
    display: block;
    font-size: 12px;
    color: #e63946;
    margin-top: 3px;
}

.variant-option.selected .price-adjustment {
    color: #fff;
}