.painting-service-calculator {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.painting-service-calculator h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3em;
}
.psc-step {
    margin-bottom: 15px;
}
.psc-step label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}
.psc-step select,
.psc-step input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.psc-colors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: center;
    margin-top: 10px;
}
.psc-color-tile {
    width: 35px;
    height: 25px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    transition: all 0.15s ease;
}
.psc-color-tile:hover {
    transform: scale(1.3);
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    border: 2px solid #333;
}
.psc-color-tile.selected {
    border: 2px solid #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
    transform: scale(1.15);
    z-index: 5;
}
.psc-color-preview {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.psc-color-preview.active {
    display: block;
}
.psc-color-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.psc-color-preview-name {
    font-weight: 500;
    font-size: 14px;
}
.psc-color-preview-reset {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 12px;
}
.psc-color-preview-reset:hover {
    color: #c00;
}
.psc-color-preview-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .psc-color-tile {
        width: 28px;
        height: 20px;
    }
}
.psc-total {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}
.psc-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
}
.psc-total-value strong {
    font-size: 1.3em;
    color: #4a7c59;
}
.psc-total-breakdown {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}
.painting-service-error {
    color: #c00;
    padding: 10px;
    background: #fee;
    border-radius: 4px;
}
#brxe-gkyfue form.cart .quantity {
    display: none !important;
}
.woocommerce-cart-form .painting-service-item .product-quantity .quantity {
    pointer-events: none;
}
.woocommerce-cart-form .painting-service-item .product-quantity input {
    display: none;
}
.woocommerce-cart-form .painting-service-item .product-quantity .quantity {
    font-weight: 500;
}
.painting-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.painting-popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}
.painting-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.painting-popup-close:hover {
    color: #333;
}
.painting-popup-title {
    margin: 0 0 20px;
    font-size: 1.3em;
    color: #333;
}
.painting-popup-body {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
.painting-popup-body ul {
    margin: 15px 0;
    padding-left: 20px;
}
.painting-popup-body li {
    margin-bottom: 8px;
}
.painting-service-delivery-notice {
    background: #f8f9fa;
    border-left: 4px solid #4a7c59;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}
.painting-service-delivery-notice strong {
    color: #333;
}
