/**
 * Service Price Display Styles
 * สไตล์สำหรับแสดงราคาบริการแบบ "เริ่มต้น ฿ ..."
 */

.price-current {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 1.8em;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.price-current > span:first-of-type {
    font-size: 0.5em;
    font-weight: 600;
    color: #7f8c8d;
    margin-right: 4px;
}

.price-current > span:last-of-type {
    font-size: 0.7em;
    font-weight: 700;
    color: #e74c3c;
    margin-right: 2px;
}

.price-contact {
    display: inline-block;
    font-size: 1.4em;
    font-weight: 600;
    color: #3498db;
    padding: 8px 16px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 8px;
    border: 2px solid #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    .price-current {
        font-size: 1.5em;
    }
    
    .price-contact {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .price-current {
        font-size: 1.3em;
    }
    
    .price-contact {
        font-size: 1em;
        padding: 6px 12px;
    }
}

/* Animation */
.price-current {
    animation: priceSlideIn 0.6s ease-out;
}

@keyframes priceSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effect */
.price-current:hover > span:last-of-type {
    color: #c0392b;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Pricing Table Enhancements */
.pricing-table .category-row {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pricing-table .category-row td {
    color: white;
    font-weight: 700;
    font-size: 1.1em;
    padding: 15px 12px;
    text-align: left;
}

.pricing-table tbody tr:not(.category-row):hover {
    background: #f8f9fa;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.pricing-table td {
    vertical-align: top;
    line-height: 1.6;
}

.pricing-table .price-cell {
    font-weight: 600;
    color: #e74c3c;
    white-space: nowrap;
}

.pricing-table td:last-child {
    font-size: 0.9em;
    color: #7f8c8d;
}

/* Responsive Table */
@media (max-width: 768px) {
    .pricing-table {
        font-size: 0.85em;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 8px 6px;
    }
    
    .pricing-table .category-row td {
        font-size: 1em;
        padding: 12px 8px;
    }
}
