.personalise-option {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.personalise-option label {
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 0;
}

.personalise-option input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.3);
    accent-color: #007cba;
}

.fee-notice {
    color: #e74c3c;
    font-weight: bold;
    background: #ffeaa7;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.personalisation-details {
    margin-top: 15px;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.personalisation-details p {
    margin: 8px 0;
}

.customization-group {
    margin-bottom: 20px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.customization-group:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.personalisation-heading {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #007cba;
    padding-bottom: 8px;
}

.customization-dropdown, 
.customization-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.customization-dropdown:focus,
.customization-group input[type="text"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.customization-dropdown:hover,
.customization-group input[type="text"]:hover {
    border-color: #007cba;
}

.customization-image-options {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
}

.customization-image-option {
    cursor: pointer;
    border: 2px solid #e9ecef;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.customization-image-option:hover {
    border-color: #007cba;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.customization-image-option.selected {
    border-color: #007cba;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.customization-image-option img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
    margin: 0 auto 8px;
    border-radius: 4px;
}

.customization-image-option small {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.customization-image-option.selected small {
    color: #007cba;
    font-weight: 600;
}

.customization-radio-label {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
    padding: 10px 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.customization-radio-label:hover {
    border-color: #007cba;
    background: #f8f9fa;
}

.customization-radio-label input[type="radio"] {
    margin-right: 10px;
    accent-color: #007cba;
}

.customization-radio-label:has(input:checked) {
    border-color: #007cba;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #007cba;
    font-weight: 600;
}

.font-chart-section {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.font-chart-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.font-chart-section p {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.font-chart-section img {
    max-width: 100%;
    height: auto;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Product customization section styling */
.product-customization-section {
    margin: 25px 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* Animation for showing/hiding options */
#personalisation_options {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .customization-image-options {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 8px;
    }
    
    .customization-image-option img {
        width: 50px;
        height: 50px;
    }
    
    .personalise-option {
        padding: 15px;
    }
    
    .customization-group {
        padding: 15px;
    }
}

/* Clear selection button styling */
.clear-selection-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.clear-selection-btn:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.clear-selection-btn:active {
    transform: translateY(0);
}

