.pc-configurator {
    width: 100%;
}

.pc-option-group {
    margin: 0 0 22px;
}

.pc-option-title {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
}

.pc-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pc-option-button {
    padding: 12px 20px;
    border: 2px solid #dcdcde;
    border-radius: 6px;
    background: #77777b;
    color: #ffffff;
    cursor: pointer;
    transition: 0.2s;
}

.pc-option-button:hover {
    border-color: #565656;
    background: #565656;
}

.pc-option-button.active {
    border-color: #0073aa;
    background: #e94e1b;
    color: #ffffff;
}

.pc-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.pc-price-table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
    background: #ffffff;
}

.pc-price-table th,
.pc-price-table td {
    padding: 13px 15px;
    border: 1px solid #dcdcde;
    text-align: left;
}

.pc-price-table th {
    background: #f0f0f1;
}

.pc-price-row {
    cursor: pointer;
    transition: 0.2s;
}

.pc-price-row:hover {
    background: #eef7fd;
}

.pc-price-row.selected,
.pc-price-row.selected td {
    background: #77777b;
    color: #ffffff;
}

.pc-selection-summary {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #ffffff;
}

.pc-selection-summary p {
    margin: 0 0 8px;
}

#pc-add-to-cart {
    margin-top: 10px;
    padding: 12px 24px;
    cursor: pointer;
}

#pc-add-to-cart:disabled {
    cursor: wait;
    opacity: 0.65;
}

.pc-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    background: #f0f0f1;
}

.pc-message-success {
    border-left: 4px solid #00a32a;
    background: #edfaef;
}

.pc-message-error {
    border-left: 4px solid #d63638;
    background: #fcf0f1;
}

.woocommerce-cart-form table.shop_table th.product-quantity,
.woocommerce-cart-form table.shop_table td.product-quantity {
    display: none;
}

.woocommerce-checkout-review-order-table .product-quantity {
    display: none;
}

@media (max-width: 600px) {

    .pc-option-button {
        width: 100%;
    }

    .pc-price-table th,
    .pc-price-table td {
        padding: 10px;
        font-size: 14px;
    }
}

/* Képes opciógombok – csak azoknál a mezőknél aktiválódik,
   amelyekhez az options.csv képadatot tartalmaz. */
.pc-option-button-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 170px;
    min-height: 150px;
    padding: 12px;
    background: #ffffff;
    color: #333333;
    border: 2px solid #dcdcde;
    white-space: normal;
}

.pc-option-button-image:hover {
    background: #fff7f4;
    border-color: #e94e1b;
    color: #333333;
}

.pc-option-button-image.active {
    background: #fff7f4;
    border-color: #e94e1b;
    color: #333333;
    box-shadow: 0 0 0 1px #e94e1b;
}

.pc-option-image {
    display: block;
    width: 100%;
    max-width: 130px;
    height: 88px;
    object-fit: contain;
}

.pc-option-image-label {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 600px) {
    .pc-option-button-image {
        width: calc(50% - 5px);
        min-width: 0;
        min-height: 135px;
        padding: 9px;
    }
    .pc-option-image {
        max-width: 100%;
        height: 76px;
    }
    .pc-option-image-label {
        font-size: 12px;
    }
}
