.dwc-configurator-wrapper {
    margin: 30px 0;
    padding: 25px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background-color: #fcfcfc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    font-family: inherit;
}

.dwc-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8b5a2b;
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
}

.dwc-field-group {
    margin-bottom: 20px;
}

.dwc-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

/* Wybór typu zabiegu */
.dwc-type-selector {
    display: flex;
    gap: 15px;
}

.dwc-type-option {
    flex: 1;
    cursor: pointer;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    background-color: #fff;
    transition: all 0.25s ease;
}

.dwc-type-option input {
    display: none;
}

.dwc-type-option.active {
    border-color: #8b5a2b;
    background-color: rgba(139, 90, 43, 0.05);
    box-shadow: 0 2px 6px rgba(139, 90, 43, 0.1);
}

.dwc-type-option span {
    font-weight: 600;
    color: #555;
}

.dwc-type-option.active span {
    color: #8b5a2b;
}

/* Układ główny */
.dwc-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .dwc-main-layout {
        grid-template-columns: 1fr;
    }
}

/* Sekcje parametrów */
.dwc-section-title {
    margin: 15px 0 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 0.5px;
}

/* Wiersze pól liczbowych */
.dwc-input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    background: #fff;
    padding: 8px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.dwc-input-row label {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

.dwc-input-row input {
    width: 90px;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: right;
    font-weight: bold;
    font-size: 0.95rem;
}

/* Wybór drewna i wykończenia */
.dwc-wood-selector, .dwc-finish-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.dwc-wood-option, .dwc-finish-option {
    flex: 1;
    cursor: pointer;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    background-color: #fff;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.dwc-wood-option input, .dwc-finish-option input {
    display: none;
}

.dwc-wood-option.active, .dwc-finish-option.active {
    border-color: #8b5a2b;
    background-color: #8b5a2b;
    color: #fff;
}

/* Wizualizacja SVG */
.dwc-visual-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dwc-svg-container {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.02);
}

#dwc-svg {
    overflow: visible;
}

/* Podsumowanie ceny */
.dwc-summary-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7f7f7;
    border-top: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.dwc-calc-details {
    font-size: 0.95rem;
    color: #666;
}

.dwc-price-box {
    text-align: right;
}

.dwc-price-box span:first-child {
    font-size: 0.9rem;
    color: #888;
    display: block;
}

.dwc-price-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #8b5a2b;
}

/* Przycisk koszyka */
.dwc-configurator-wrapper .single_add_to_cart_button {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
    background-color: #8b5a2b !important;
    color: #fff !important;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.dwc-configurator-wrapper .single_add_to_cart_button:hover {
    background-color: #724921 !important;
}
