.wc-configurable-wrapper {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.wc-configurable-wrapper h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Configuration Options */
.configuration-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.configuration-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: white;
    transition: all 0.3s ease;
}

.configuration-option:hover {
    border-color: #007cba;
    background: #f0f8ff;
}

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

.configuration-option input[type="radio"]:checked + .config-label {
    font-weight: bold;
    color: #007cba;
}

.configuration-option:has(input[type="radio"]:checked) {
    border-color: #007cba;
    background: #e6f3ff;
}

.config-label {
    font-size: 14px;
    color: #333;
}

/* Configuration Sections */
.configuration-section {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Size Options */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.size-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: white;
    transition: all 0.3s ease;
}

.size-option:hover {
    border-color: #007cba;
    background: #f0f8ff;
}

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

.size-option input[type="radio"]:checked + .size-label {
    font-weight: bold;
    color: #007cba;
}

.size-option:has(input[type="radio"]:checked) {
    border-color: #007cba;
    background: #e6f3ff;
}

.size-label {
    font-size: 14px;
    color: #333;
}

/* Buckets Container */
.buckets-container {
    margin-top: 20px;
}

.bucket-group {
    margin-bottom: 20px;
}

.bucket-group:last-child {
    margin-bottom: 0;
}

.bucket-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bucket-item {
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    overflow: hidden;
}

.bucket-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 15px;
    border: none;
    border-radius: 0;
    background: white;
    transition: all 0.3s ease;
    margin: 0;
}

.bucket-item:hover .bucket-option {
    background: #f0f8ff;
}

.bucket-item:has(.bucket-option input[type="radio"]:checked) {
    border-color: #007cba;
    background: #e6f3ff;
}

.bucket-option input[type="radio"] {
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.bucket-details {
    flex: 1;
}

.bucket-details h5 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.bucket-details .price {
    margin: 5px 0;
    font-size: 18px;
    font-weight: bold;
    color: #007cba;
}

.bucket-details .sku {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.bucket-details .stock-status {
    margin: 5px 0 0 0;
    font-size: 14px;
    font-weight: bold;
}

.bucket-details .stock-status.in-stock {
    color: #28a745;
}

.bucket-details .stock-status.out-of-stock {
    color: #dc3545;
}

/* Accessories Section */
.accessories-section {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 15px;
}

.accessories-section h6 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: bold;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accessories-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accessory-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accessory-item:hover {
    border-color: #007cba;
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.1);
}

.accessory-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 12px;
    margin: 0;
    background: white;
    transition: all 0.3s ease;
}

.accessory-option input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.accessory-details {
    flex: 1;
}

.accessory-details h6 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-transform: none;
    letter-spacing: normal;
}

.accessory-details .price {
    margin: 4px 0;
    font-size: 16px;
    font-weight: bold;
    color: #007cba;
}

.accessory-details .sku {
    margin: 4px 0;
    font-size: 12px;
    color: #666;
}

.accessory-details .stock-status {
    margin: 4px 0 0 0;
    font-size: 12px;
    font-weight: bold;
}

.accessory-details .stock-status.in-stock {
    color: #28a745;
}

.accessory-details .stock-status.out-of-stock {
    color: #dc3545;
}

/* Bucket Plate Section */
.bucket-plate-section {
    margin-top: 20px;
}

.bucket-plate-option {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bucket-plate-item {
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    overflow: hidden;
}

.bucket-plate-item:hover {
    border-color: #007cba;
    background: #e6f3ff;
}

.bucket-plate-item input[type="checkbox"]:checked ~ .bucket-plate-details {
    background: #e6f3ff;
}

.bucket-plate-item label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 15px;
    margin: 0;
}

.bucket-plate-item input[type="checkbox"] {
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.bucket-plate-details {
    flex: 1;
}

.bucket-plate-details h5 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.bucket-plate-details .price {
    margin: 5px 0;
    font-size: 18px;
    font-weight: bold;
    color: #007cba;
}

.bucket-plate-details .sku {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.bucket-plate-details .stock-status {
    margin: 5px 0 0 0;
    font-size: 14px;
    font-weight: bold;
}

.bucket-plate-details .stock-status.in-stock {
    color: #28a745;
}

.bucket-plate-details .stock-status.out-of-stock {
    color: #dc3545;
}

/* Quantity Selector */
.quantity-selector {
    background: #e9ecef;
    border-top: 1px solid #dee2e6;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-selector label {
    font-size: 12px;
    font-weight: bold;
    color: #495057;
    margin: 0;
    cursor: default;
}

.quantity-selector input[type="number"] {
    width: 70px;
    padding: 4px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.quantity-selector input[type="number"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

/* Add to Cart Button */
.single_add_to_cart_button {
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: #007cba;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.single_add_to_cart_button:hover {
    background: #005f8b;
}

/* Error Messages */
.no-products-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wc-configurable-wrapper {
        padding: 15px;
    }

    .configuration-options,
    .size-options {
        flex-direction: column;
    }
    
    .configuration-option,
    .size-option {
        justify-content: flex-start;
    }
    
    .bucket-option {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bucket-option input[type="radio"] {
        margin-bottom: 10px;
    }
    
    .bucket-plate-item label {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bucket-plate-item input[type="checkbox"] {
        margin-bottom: 10px;
    }
    
    .accessory-option {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .accessory-option input[type="checkbox"] {
        margin-bottom: 10px;
    }
    
    .quantity-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .quantity-selector input[type="number"] {
        width: 100%;
    }
    
    .single_add_to_cart_button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wc-configurable-wrapper {
        margin: 10px 0;
        padding: 10px;
    }
    
    .wc-configurable-wrapper h4 {
        font-size: 14px;
    }
    
    .configuration-option,
    .size-option {
        padding: 8px 12px;
    }
    
    .bucket-details h5,
    .bucket-plate-details h5 {
        font-size: 14px;
    }
    
    .bucket-details .price,
    .bucket-plate-details .price {
        font-size: 16px;
    }
    
    .accessory-details h6 {
        font-size: 12px;
    }
    
    .accessory-details .price {
        font-size: 14px;
    }
}