.pcb-heading {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pcb-section {
    margin-bottom: 30px;
}

.pcb-section h4 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

.pcb-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.pcb-option-card {
    display: block;
    cursor: pointer;
    position: relative;
}

.pcb-option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.pcb-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #eee;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.pcb-option-card input:checked+.pcb-option-content {
    border-color: #000;
    /* Or primary color */
    background-color: #f9f9f9;
}

.pcb-option-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

.pcb-option-title {
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.pcb-option-price {
    font-size: 0.85em;
    color: #666;
}

.pcb-total-price-box {
    background: #f4f4f4;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 30px;
    font-size: 1.2em;
}

.pcb-total-label {
    font-weight: 600;
    margin-right: 10px;
}

.pcb-heading {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pcb-section {
    margin-bottom: 30px;
}

.pcb-section h4 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

.pcb-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.pcb-option-card {
    display: block;
    cursor: pointer;
    position: relative;
}

.pcb-option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.pcb-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #eee;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.pcb-option-card input:checked+.pcb-option-content {
    border-color: #000;
    /* Or primary color */
    background-color: #f9f9f9;
}

.pcb-option-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

.pcb-option-title {
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.pcb-option-price {
    font-size: 0.85em;
    color: #666;
}

.pcb-total-price-box {
    background: #f4f4f4;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 30px;
    font-size: 1.2em;
}

.pcb-total-label {
    font-weight: 600;
    margin-right: 10px;
}

.pcb-total-amount {
    font-weight: 700;
    color: #000;
}

/* Hide default WooCommerce price on single product page if builder is present */
.single-product .product .price,
.single-product .product p.price,
.single-product .product span.price {
    display: none !important;
}