    .ph-calculator-container {
        max-width: 900px;
        margin: 40px auto;
        padding: 0 20px;

    }

    .ph-calculator-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .ph-calculator-header h2 {
        font-size: 28px;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .ph-subtitle {
        color: #7f8c8d;
        font-size: 16px;
        margin: 0;
        line-height: 1.6;
    }

    .ph-card {
        background: #ffffff;
        border-radius: 6px;
        
        padding: 30px;
        margin-bottom: 30px;
        border: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }

    .ph-card:hover {
        
        transform: translateY(-2px);
    }

    .ph-form-row {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .ph-form-group {
        flex: 1;
        min-width: 200px;
    }

    .ph-form-group label {
        display: block;
        margin-bottom: 10px;
        font-weight: 600;
        color: #2c3e50;
        font-size: 15px;
    }

    .ph-select-wrapper {
        position: relative;
        width: 100%;
    }

    .ph-select {
        width: 100%;
        padding: 14px 20px;
        padding-right: 50px;
        border: 2px solid #e1e5e9;
        border-radius: 6px;
        font-size: 16px;
        background: #fafafa;
        transition: all 0.3s ease;
        appearance: none;
        cursor: pointer;
        font-weight: 500;
    }

    .ph-select:focus {
        outline: none;
        border-color: #3498db;
        background: #fff;
        
    }

    .ph-select-icon {
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
        pointer-events: none;
        color: #7f8c8d;
    }

    .ph-input-with-unit {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .ph-input {
        width: 100%;
        padding: 14px 20px;
        border: 2px solid #e1e5e9;
        border-radius: 6px;
        font-size: 16px;
        transition: all 0.3s ease;
        background: #fafafa;
        font-weight: 500;
    }

    .ph-input:focus {
        outline: none;
        border-color: #3498db;
        background: #fff;
    
    }

    .ph-unit-display {
        padding: 14px 20px;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 600;
        color: #495057;
        min-width: 80px;
        text-align: center;
        border-top-right-radius: 14px !important;
        border-bottom-right-radius: 14px !important;
    }

    .ph-add-btn-wrapper {
        display: flex;
        align-items: flex-end;
    }

    .ph-btn {
        padding: 14px 28px;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
    }

    .ph-btn:hover {
        transform: translateY(-2px);
        
    }

    .ph-btn:active {
        transform: translateY(0);
    }

    .ph-btn-primary {
        background: #3498db;
        color: white;
    }

    .ph-btn-primary:hover {
        background: #2980b9;
    }

    .ph-btn-success {
        background: #27ae60;
        color: white;
    }

    .ph-btn-success:hover {
        background: #229954;
    }

    .ph-btn-lg {
        padding: 16px 32px;
        font-size: 17px;
    }

    .ph-btn-block {
        width: 100%;
    }

    .ph-items-list {
        position: relative;
        overflow: hidden;
    }

    .ph-list-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .ph-list-header h3 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
        color: #2c3e50;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .ph-total-badge {
        background: #e3f2fd;
        padding: 12px 24px;
        border-radius: 6px;
        font-weight: 700;
        color: #1565c0;
        font-size: 18px;
        display: flex;
        align-items: center;
        gap: 8px;
       
    }

    .ph-items-container {
        min-height: 100px;
    }

    .ph-item {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 6px;
        margin-bottom: 15px;
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
    }

    .ph-item:hover {
        background: #f1f3f4;
        transform: translateX(4px);
        border-color: #3498db;
    }

    .ph-item-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .ph-item-header strong {
        font-size: 17px;
        color: #2c3e50;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .ph-remove-item {
        background: #e74c3c;
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 6px;
        border: none;
        cursor: pointer;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .ph-remove-item:hover {
        background: #c0392b;
        transform: rotate(90deg) scale(1.1);
    }

    .ph-item-body {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
        color: #555;
        font-size: 16px;
    }

    .ph-item-quantity {
        background: #e3f2fd;
        padding: 6px 14px;
        border-radius: 6px;
        font-weight: 600;
        color: #1565c0;
    }

    .ph-item-price {
        font-weight: 700;
        color: #27ae60;
        font-size: 18px;
        direction: ltr;
    }

    .ph-approx {
        display: block;
        color: #f39c12;
        font-size: 14px;
        margin-top: 10px;
        padding: 8px 12px;
        background: #fef9e7;
        border-radius: 6px;
        border-left: 3px solid #f39c12;
    }

    .ph-empty-state {
        text-align: center;
        padding: 60px 20px;
        color: #7f8c8d;
    }

    .ph-empty-icon {
        font-size: 48px;
        margin-bottom: 15px;
        opacity: 0.7;
    }

    .ph-empty-state p {
        margin: 8px 0;
        font-size: 16px;
        line-height: 1.6;
    }

    .ph-form-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .ph-form-header h3 {
        margin: 0 0 12px;
        font-size: 22px;
        font-weight: 700;
        color: #2c3e50;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .ph-form-header p {
        color: #7f8c8d;
        margin: 0;
        font-size: 15px;
        line-height: 1.6;
    }

    .ph-sms-status {
        margin-top: 20px;
        padding: 15px;
        border-radius: 6px;
        text-align: center;
        font-weight: 600;
        animation: fadeIn 0.4s ease;
    }

    .ph-notice-success {
        background: #e8f5e9;
        color: #2e7d32;
        border: 1px solid #c8e6c9;
    }

    .ph-notice-error {
        background: #ffebee;
        color: #c62828;
        border: 1px solid #ffcdd2;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .ph-unit-badge {
        background: #e1f5fe;
        color: #0288d1;
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 12px;
        margin-right: 8px;
        font-weight: normal;
    }

    @media (max-width: 768px) {
        .ph-calculator-container {
            margin: 20px;
            padding: 0 10px;
        }

        .ph-calculator-header h2 {
            font-size: 24px;
        }

        .ph-card {
            padding: 25px 20px;
            border-radius: 6px;
        }

        .ph-form-row {
            flex-direction: column;
            gap: 15px;
        }

        .ph-btn {
            padding: 14px 24px;
            font-size: 16px;
        }

        .ph-btn-lg {
            padding: 16px 28px;
            font-size: 16px;
        }

        .ph-list-header {
            flex-direction: column;
            align-items: stretch;
            text-align: center;
        }

        .ph-total-badge {
            justify-content: center;
            padding: 12px;
            font-size: 16px;
        }

        .ph-item-body {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }
    }


#ph-variant-group,
#ph-quantity-group {

    transform: translateY(10px);
    transition: all 0.3s ease;
}

#ph-variant-group[style*="display: block"],
#ph-quantity-group[style*="display: block"] {
    opacity: 1;
    transform: translateY(0);
}