.spc-wrapper { 
    max-width: 680px; 
    margin: 18px auto; 
    font-family: cairo; 
    direction: rtl; 
    text-align: right; 
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}
.spc-section { 
    background: #fff; 
    padding: 20px; 
    margin-bottom: 0; 
    border-bottom: 1px solid #f0f0f0; 
}
.spc-section:last-child { 
    border-bottom: none; 
}
.spc-section h3 { 
    font-size: 18px; 
    margin-bottom: 15px; 
    color: #333; 
    font-weight: 600;
}
.platforms-grid, .extras-grid, .services-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
}
.platforms-grid label, .extras-grid label { 
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    gap: 8px;
}
.platform-label {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    gap: 8px;
    min-height: 44px;
}
.platform-text {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}
.platform-price {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}
.platforms-grid input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}
.service-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 200px;
}
.service-item label {
    font-weight: 500;
    margin-bottom: 5px;
    text-align: center;
}
.service-item input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}
.platforms-grid label:hover, .extras-grid label:hover,
.service-item:hover,
.platform-label:hover {
    border-color: #007bff;
    background: #f1f8ff;
}
.platforms-grid input:checked + label, 
.extras-grid input:checked + label,
.platforms-grid label input:checked,
.extras-grid label input:checked,
.platform-label input:checked + .platform-text {
    border-color: #007bff;
    background: #007bff;
    color: #fff;
}
.platform-label input:checked + .platform-text .platform-price {
    color: #fff;
}
.spc-input-group { 
    margin-bottom: 15px; 
}
.spc-input-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 500; 
    color: #555; 
}
.spc-input-group input[type=number] { 
    width: 100%; 
    padding: 12px; 
    border-radius: 8px; 
    border: 2px solid #e9ecef; 
    font-size: 16px;
    transition: border-color 0.3s ease;
}
.spc-input-group input[type=number]:focus,
.service-item input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}
.spc-summary { 
    background: #f8f9fa; 
    border: 2px solid #e9ecef; 
    padding: 15px; 
    border-radius: 8px; 
    font-size: 14px; 
    margin-bottom: 15px; 
    line-height: 1.6;
}
.spc-summary p {
    margin: 0 0 8px 0;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}
.spc-summary p:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.price-total { 
    font-weight: 700; 
    color: #5312a4; 
    font-size: 20px;
    margin: 15px 0;
    text-align: center;
}
.spc-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.spc-whatsapp-btn { 
    background: #25D366; 
    color: #fff; 
    border-radius: 25px; 
    padding: 12px 25px; 
    border: none; 
    cursor: pointer; 
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 160px;
}
.spc-whatsapp-btn:hover { 
    background: #128C7E; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.spc-cart-btn { 
    background: #007bff; 
    color: #fff; 
    border-radius: 25px; 
    padding: 12px 25px; 
    border: none; 
    cursor: pointer; 
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 160px;
}
.spc-cart-btn:hover { 
    background: #0056b3; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}
.spc-cart-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* توافق مع Woodmart */
.woodmart-dark .spc-wrapper {
    background: #2d2d2d;
    color: #fff;
}
.woodmart-dark .spc-section {
    background: #2d2d2d;
    border-bottom-color: #444;
}
.woodmart-dark .spc-section h3 {
    color: #fff;
}
.woodmart-dark .platforms-grid label,
.woodmart-dark .extras-grid label,
.woodmart-dark .service-item,
.woodmart-dark .platform-label {
    background: #3d3d3d;
    border-color: #555;
    color: #fff;
}
.woodmart-dark .spc-input-group label {
    color: #ddd;
}
.woodmart-dark .spc-input-group input[type=number],
.woodmart-dark .service-item input {
    background: #3d3d3d;
    border-color: #555;
    color: #fff;
}
.woodmart-dark .spc-summary {
    background: #3d3d3d;
    border-color: #555;
    color: #fff;
}
.woodmart-dark .platform-price {
    color: #ccc;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .spc-wrapper {
        margin: 10px;
        border-radius: 8px;
    }
    .spc-section {
        padding: 15px;
    }
    .platforms-grid, .extras-grid, .services-grid {
        gap: 10px;
    }
    .platforms-grid label, .extras-grid label {
        padding: 8px 12px;
        font-size: 14px;
    }
    .platform-label {
        padding: 8px 12px;
        font-size: 14px;
        min-height: 40px;
    }
    .service-item {
        padding: 10px;
        min-width: 150px;
    }
    .platform-price {
        font-size: 11px;
    }
    .spc-buttons {
        flex-direction: column;
    }
    .spc-whatsapp-btn,
    .spc-cart-btn {
        min-width: auto;
        width: 100%;
    }
}